Suppose I have a business org structure in a table with a compound key made up of all three fields. The data might look like this:
[tt]
Division Branch Office
A 1 NY
A 2 TX
A 2 OK
A 2 NM
B 1 CA
B 1 NV
B 3 AZ
C 4 FL
[/tt]
I also have a second table that has all 3 of these fields plus a lot more fields. In this second table, those 3 fields are on the "many" side of a one-to-many relationship back to the org table.
Is there a way that I can do the lookup so that if a user is editing this second table and they choose "A" for the division field then the dropdown for the Branch field will only contain values 1 and 2 but not 3 and 4 since there are no Branch 3 or 4 in division A ?
I guess what I'm really asking here is if it is possible to reference values on the current new row in the SQL query used for your Row Source?
[tt]
Division Branch Office
A 1 NY
A 2 TX
A 2 OK
A 2 NM
B 1 CA
B 1 NV
B 3 AZ
C 4 FL
[/tt]
I also have a second table that has all 3 of these fields plus a lot more fields. In this second table, those 3 fields are on the "many" side of a one-to-many relationship back to the org table.
Is there a way that I can do the lookup so that if a user is editing this second table and they choose "A" for the division field then the dropdown for the Branch field will only contain values 1 and 2 but not 3 and 4 since there are no Branch 3 or 4 in division A ?
I guess what I'm really asking here is if it is possible to reference values on the current new row in the SQL query used for your Row Source?