cj92713696
Programmer
Example - Change 2 to 1 and vice versa on QueryHelp for example
---
I'm having trouble w/a many to many query.
I have 3 tables setup.
Table 1 = Store
Table 2 = (many to many) ManagerStoreAssoc
Table 3 = Manager
Store has 2 fields:
1.) StoreCode (PK)
2.) StoreName
Data: (UPT, Uptown), (ELM, Elmwood)
ManagerStoreAssoc has 3 fields:
1.) ManagerStoreAssocKey (PK)
2.) StoreCode
3.) ManagerKey
Data: (1, UPT, 1)
Manager has 2 fields:
1.) ManagerKey (PK)
2.) ManagerName
Data: (1, "Ray", (2, "Mike"
If I specify a ManagerKey of 1, I want the following to appear:
UPT, Uptown, Ray
ELM, Elmwood, <NULL>
If I specify a ManagerKey of 2, I want the following to appear:
UPT, Uptown, <NULL>
ELM, Elmwood, <NULL>
For some reason, when I specify a ManagerKey of 1, I get correct data, however when I specify a ManagerKey of 2, my store - UPT, Uptown is not displayed. What gives?
Any assistance is greatly appreciated!
Thanks,
CJ
---
Example - Change 2 to 1 and vice versa on QueryHelp for example
---
I'm having trouble w/a many to many query.
I have 3 tables setup.
Table 1 = Store
Table 2 = (many to many) ManagerStoreAssoc
Table 3 = Manager
Store has 2 fields:
1.) StoreCode (PK)
2.) StoreName
Data: (UPT, Uptown), (ELM, Elmwood)
ManagerStoreAssoc has 3 fields:
1.) ManagerStoreAssocKey (PK)
2.) StoreCode
3.) ManagerKey
Data: (1, UPT, 1)
Manager has 2 fields:
1.) ManagerKey (PK)
2.) ManagerName
Data: (1, "Ray", (2, "Mike"
If I specify a ManagerKey of 1, I want the following to appear:
UPT, Uptown, Ray
ELM, Elmwood, <NULL>
If I specify a ManagerKey of 2, I want the following to appear:
UPT, Uptown, <NULL>
ELM, Elmwood, <NULL>
For some reason, when I specify a ManagerKey of 1, I get correct data, however when I specify a ManagerKey of 2, my store - UPT, Uptown is not displayed. What gives?
Any assistance is greatly appreciated!
Thanks,
CJ
---
Example - Change 2 to 1 and vice versa on QueryHelp for example