Hey,
I have a form that has a dropbox list and I want the values of the form to change according to the value in the dropbox.
For example:
When the dropbox contains the value A,
The form would display x=1, y=2, z=3.
When the dropbox contains the value B,
The form would display x=4, y=5, z=6.
I managed to create a query that opens the QUERY's results according to the value in the dropbox but I can't managed to run the query in the form, return the values according to the query and display them in the form.
I searched the internet and found many options including the Dcount command but I don't think it fits my case...
I know I have to write something in the AfterUpdate field of the dropbox but I just can't figure out what it is...
Please help
I have a form that has a dropbox list and I want the values of the form to change according to the value in the dropbox.
For example:
When the dropbox contains the value A,
The form would display x=1, y=2, z=3.
When the dropbox contains the value B,
The form would display x=4, y=5, z=6.
I managed to create a query that opens the QUERY's results according to the value in the dropbox but I can't managed to run the query in the form, return the values according to the query and display them in the form.
I searched the internet and found many options including the Dcount command but I don't think it fits my case...
I know I have to write something in the AfterUpdate field of the dropbox but I just can't figure out what it is...
Please help