A
ANDY-N via AccessMonster.com
I have a list box in a form; I would like to use a field in this list box as
a criteria for a query. What I want it to do is that when I click on the
field in list box, it would call up the query and use what I selected as the
control? I tried to point to the query to the form to get the criteria using
[forms]![formname]![fieldname] as the criteria in the query I want to run,
but that didnt work. Any suggestions?
Thanks in advance.
P.S: If I need to write an Even Procedure, how do I do that? I know to do
that for list boxes in the same form but not for list boxes in a different
form.
a criteria for a query. What I want it to do is that when I click on the
field in list box, it would call up the query and use what I selected as the
control? I tried to point to the query to the form to get the criteria using
[forms]![formname]![fieldname] as the criteria in the query I want to run,
but that didnt work. Any suggestions?
Thanks in advance.
P.S: If I need to write an Even Procedure, how do I do that? I know to do
that for list boxes in the same form but not for list boxes in a different
form.