Maxi2011
Registered User.
- Local time
- Today, 04:48
- Joined
- Aug 6, 2004
- Messages
- 16
Hi
I have three main tables.
Supplier_tbl which holds supplier details
Contracts_tbl which holds contract details
Owners_Tbl which holds details of the person is responsible for the contract
I have forms based on all of these which are used for data entry (by the administrator) and a summary view (by the users). I’ve got it set up so the users always view the forms in read-only mode. I could change this if needed and just lock out the fields I don't want them to be able to interact with.
The ‘Owner’ and ‘Supplier’ fields on the Contracts_frm are looked up from the relevant tables and are displayed as drop-down boxes. What I’d like to know is if it’s possible to set up those drop down-boxes so that when the user chooses a Supplier Name or Owner Name from them, a filter is run and the user will be displayed only a list of the contracts related to that supplier or owner. For example if you select Acme from the supplier list, you will be take to the contract which you have with Acme Plc.
I have a feeling I’ll need VBA for this? Perhaps setting something to the AfterUpdate property……Just not sure what. Can I do this? If so how. Please bear in mind, I’m new to all this. Especially VBA!
Thanks!
I have three main tables.
Supplier_tbl which holds supplier details
Contracts_tbl which holds contract details
Owners_Tbl which holds details of the person is responsible for the contract
I have forms based on all of these which are used for data entry (by the administrator) and a summary view (by the users). I’ve got it set up so the users always view the forms in read-only mode. I could change this if needed and just lock out the fields I don't want them to be able to interact with.
The ‘Owner’ and ‘Supplier’ fields on the Contracts_frm are looked up from the relevant tables and are displayed as drop-down boxes. What I’d like to know is if it’s possible to set up those drop down-boxes so that when the user chooses a Supplier Name or Owner Name from them, a filter is run and the user will be displayed only a list of the contracts related to that supplier or owner. For example if you select Acme from the supplier list, you will be take to the contract which you have with Acme Plc.
I have a feeling I’ll need VBA for this? Perhaps setting something to the AfterUpdate property……Just not sure what. Can I do this? If so how. Please bear in mind, I’m new to all this. Especially VBA!
Thanks!