I have a table and a multiselect listbox.
The table is on the beginning of the event on click of a cmd button.
The table is like :
Expand|Select|Wrap|Line Numbers
- strMain = "SELECT DISTINCT [A], [b], [C], [D], [E], [F] FROM TblR"
- Set rstMain = db.OpenRecordset(strMain, dbOpenDynaset)
I would like to put a criteria like C=CLIST when you select multiple items in the list, to use it in my code
I know that I have to use a loop and .Itemsselected but I don't know how to write it
I am working on Acess 2010
Thank you very much