C
Crystal K
Please Help! (Working in Access 2000 file format)
Scenario: The store gets invoices. The main office processes invoices. I
want to find out three things-
1) the invoices the main office processed that the store received.
2) the invoices the store got that the main office didn't process.
3) the invoices the main office processed that the store didn't receive.
I think I have a many to many relationship and understands that I need a
junction table in Access. Basically I have three tables. This is the setup:
Table Name: Store
Column Name: StoreID (autonumber, pk)
InvoiceNumber (text)
InvoiceDate
Table Name: MainOffice
Column Name: MainOfficeID (autonumber, pk)
InvoiceNumPro (text)
InvoiceDatePro
TableName: StoreAndMainOffice
Column Name: StoreID (number, pk)
MainOfficeID (number, pk)
I created a one to many relationship from Store to StoreAndMainOffice, and
from MainOffice to StoreAndMainOffice. Thus hoping to have created a correct
junction table setup. Let me know if this is incorrect.
I have data for the Store table and the MainOffice table that I want to
import in (basically from an excel document). And the information is already
imported. How do I get Access to populate the StoreAndMainOffice table now
that the Store table and Main Office Table is populated? And what are the
queries that I need to get the results to the three things that I want from
this database, or technically item 2 and 3, since item 1 is answered by the
junction table. Feel free to past the SQL of the query so that I can copy and
paste it to my database.
Thanks in advance for any assistance!
Scenario: The store gets invoices. The main office processes invoices. I
want to find out three things-
1) the invoices the main office processed that the store received.
2) the invoices the store got that the main office didn't process.
3) the invoices the main office processed that the store didn't receive.
I think I have a many to many relationship and understands that I need a
junction table in Access. Basically I have three tables. This is the setup:
Table Name: Store
Column Name: StoreID (autonumber, pk)
InvoiceNumber (text)
InvoiceDate
Table Name: MainOffice
Column Name: MainOfficeID (autonumber, pk)
InvoiceNumPro (text)
InvoiceDatePro
TableName: StoreAndMainOffice
Column Name: StoreID (number, pk)
MainOfficeID (number, pk)
I created a one to many relationship from Store to StoreAndMainOffice, and
from MainOffice to StoreAndMainOffice. Thus hoping to have created a correct
junction table setup. Let me know if this is incorrect.
I have data for the Store table and the MainOffice table that I want to
import in (basically from an excel document). And the information is already
imported. How do I get Access to populate the StoreAndMainOffice table now
that the Store table and Main Office Table is populated? And what are the
queries that I need to get the results to the three things that I want from
this database, or technically item 2 and 3, since item 1 is answered by the
junction table. Feel free to past the SQL of the query so that I can copy and
paste it to my database.
Thanks in advance for any assistance!