Query criteria retrieved from a Form's listbox

blacksaibot

Registered User.
Local time
Today, 00:25
Joined
Jan 20, 2010
Messages
31
Right now on my form I have a comobox options within.
The query takes the selection from the form combobox like so:

[forms]![formname]![comboboxname]

It successfuly retrieves what the user selects, but how can I do the same thing but with a listbox that has a multiselect??

Would I have to right a loop that goes through each selected item and make a string with concatenations that will be part of my query?

Not sure about VBA syntax either. Is it the same as VB.NET?
 

Users who are viewing this thread

Back
Top Bottom