Hi everyone -
A quick Question:
1 - is there a wildcard (beside the * ) that can be used to retrieve records in a In() statement in a query's criteria?
I have a listbox that is set to multi-select. The listbox hold items that can be selected and then these items are built into a string and inserted into a SQL statement using the In() property.
Is there a way to insert something in the In() property that will at as a wildcard and pull all of the records? Bascially - I want the user to be able to select any number of items in the listbox to query on... if the user whats to use all of the items then (instead of having to select them all <around120>) they could select ALL as one of the option.
I have inserted ALL in the list but I can't figure out what I need to put in the In() statement to retrieve everything in the list...?
Please help me get started on this if you can. I did a lot of searching on this in this forum and my Bible but I can't figure it out.
Thanks in advance,
Kevin
A quick Question:
1 - is there a wildcard (beside the * ) that can be used to retrieve records in a In() statement in a query's criteria?
I have a listbox that is set to multi-select. The listbox hold items that can be selected and then these items are built into a string and inserted into a SQL statement using the In() property.
Is there a way to insert something in the In() property that will at as a wildcard and pull all of the records? Bascially - I want the user to be able to select any number of items in the listbox to query on... if the user whats to use all of the items then (instead of having to select them all <around120>) they could select ALL as one of the option.
I have inserted ALL in the list but I can't figure out what I need to put in the In() statement to retrieve everything in the list...?
Please help me get started on this if you can. I did a lot of searching on this in this forum and my Bible but I can't figure it out.
Thanks in advance,
Kevin