Hi
I have been trying to have a Multi select list box provide the criteria for a Query.
After reading all of the threads I was able to create code that would store the selections in a Query format.
The Variable name is Text1 and is entered in the code for Private Sub Preview_Click()
Using debug i see the criteria format is good, however i am unable to get this to the Query.
[Forms]![formname]![Text1]
I thought perhaps that by making Text1 a public variable it would then be able to be used in the Query. That did not work.
This is my first time asking for help here so I know this is very unclear and I am a Access newbie. I hope someone can help.
Thanks
I have been trying to have a Multi select list box provide the criteria for a Query.
After reading all of the threads I was able to create code that would store the selections in a Query format.
The Variable name is Text1 and is entered in the code for Private Sub Preview_Click()
Using debug i see the criteria format is good, however i am unable to get this to the Query.
[Forms]![formname]![Text1]
I thought perhaps that by making Text1 a public variable it would then be able to be used in the Query. That did not work.
This is my first time asking for help here so I know this is very unclear and I am a Access newbie. I hope someone can help.
Thanks