Hi guys,
I'm building a GUI for a small Access DB and basically what I want is the following:
Two drop-down boxes on a form. The form is bound to a table (Contacts).
The first drop-down box is not bound, but populated from a table (Organisations) .
When I change this value (and when the form is first loaded) I want the second drop-down box to be a list of all addresses associated with the selected Organisation.
Sounds simple, but I want to use a parameter query for the second drop-down and pass the integer value of the first drop-down as the parameter (so my SQL code started PARAMETER MyOrganisationI D Integer;).
I've tried using EXECUTE as part of the datasource to no avail.
Any assistance with this most annoying of bugs would be greatly appreciated!
Cheers,
codegecko
I'm building a GUI for a small Access DB and basically what I want is the following:
Two drop-down boxes on a form. The form is bound to a table (Contacts).
The first drop-down box is not bound, but populated from a table (Organisations) .
When I change this value (and when the form is first loaded) I want the second drop-down box to be a list of all addresses associated with the selected Organisation.
Sounds simple, but I want to use a parameter query for the second drop-down and pass the integer value of the first drop-down as the parameter (so my SQL code started PARAMETER MyOrganisationI D Integer;).
I've tried using EXECUTE as part of the datasource to no avail.
Any assistance with this most annoying of bugs would be greatly appreciated!
Cheers,
codegecko
Comment