mark curtis
Registered User.
- Local time
 - Today, 06:41
 
- Joined
 - Oct 9, 2000
 
- Messages
 - 457
 
Dear all,
I have a report run from a query but now I need filter the query using list box selections on a form. The report can be filtered by Freq, Task, Location and Type.
I have a form with each of the above as lists boxes and i want the user to have the choice of selecting:
eg:
I select 4 Freq and 3 Tasks but I do not want to filter by Location or Type? and that is where my problem is!!
I know that I can reference the listbox in the query criteria but if I make no selection then the query will fall over also I need to return criteria greater than 255 and need to do some string manipulation.
If I could code this in SQL it would be much simpler but I do not know how to!
Any help as always much appreciated
Mark
 I have a report run from a query but now I need filter the query using list box selections on a form. The report can be filtered by Freq, Task, Location and Type.
I have a form with each of the above as lists boxes and i want the user to have the choice of selecting:
eg:
I select 4 Freq and 3 Tasks but I do not want to filter by Location or Type? and that is where my problem is!!
I know that I can reference the listbox in the query criteria but if I make no selection then the query will fall over also I need to return criteria greater than 255 and need to do some string manipulation.
If I could code this in SQL it would be much simpler but I do not know how to!
Any help as always much appreciated
Mark