Hi all,
I have a list box which is populated through a query, what I would like it to do is have the list only show values based upon a dropdown value within the form.
The theory works as far as if I add in a button to run the query it will take the value from the dropdown and produce the correct results, but if I then tie the listbox into the query it prompts for a value everytime the form opens.
The list box runs fine from the query if the query has a hardcoded value.
I am starting to think that the list box may have to be run from a query within the forms VBA coding rather than a standalone query ... would this be correct??
Thanks in advance .....
I have a list box which is populated through a query, what I would like it to do is have the list only show values based upon a dropdown value within the form.
The theory works as far as if I add in a button to run the query it will take the value from the dropdown and produce the correct results, but if I then tie the listbox into the query it prompts for a value everytime the form opens.
The list box runs fine from the query if the query has a hardcoded value.
I am starting to think that the list box may have to be run from a query within the forms VBA coding rather than a standalone query ... would this be correct??
Thanks in advance .....