hockey8837
Registered User.
- Local time
- Today, 13:17
- Joined
- Sep 16, 2009
- Messages
- 106
I have a form 'Location' that has tabs. Two of these tabs are 'Tree Work' and 'Funding.'
A location can have multiple records for tree work, and each tree work record needs to be assigned a funding source. But the funding source may be different for each tree work record, so each needs an individual relationship (I think this is the best way to do this...).
So, in 'Funding' I have a datasheet, and on the TreeWorkID combo box, I have a select query on the row source to pull up ALL TreeWorkIDs in the DB so the user can select the tree work they just added and apply funding to it.
How do I limit this combo box to ONLY TreeWorkIDs that match the currently open LocationID and not every Location?
I've looked into info about basing one combo box off of another, but have found nothing about basing a combo box off of a record ID foreign key.
A location can have multiple records for tree work, and each tree work record needs to be assigned a funding source. But the funding source may be different for each tree work record, so each needs an individual relationship (I think this is the best way to do this...).
So, in 'Funding' I have a datasheet, and on the TreeWorkID combo box, I have a select query on the row source to pull up ALL TreeWorkIDs in the DB so the user can select the tree work they just added and apply funding to it.
How do I limit this combo box to ONLY TreeWorkIDs that match the currently open LocationID and not every Location?
I've looked into info about basing one combo box off of another, but have found nothing about basing a combo box off of a record ID foreign key.