Tastech
New member
- Local time
- Today, 14:18
- Joined
- May 14, 2024
- Messages
- 7
Hi all, having a mental block on this one. It should be easy but I can't get it.
I have a query take returns results based on several combos. Standard stuff =[forms]![frmMain]![cboWorkSlips] etc.
However on two of combo critieria selections I would like to have and "ALL" option. Once again easy enough with a union.
What I having problem with is this. Two of the combos use numbers 1,2,3,4... etc. So I can report 1 or 2 etc. I would like the "ALL" to show all.
The iif function is ok IIf([forms]![frmMain]![cboWorkSlipsSect]>0,[forms]![frmMain]![cboWorkSlipsSect],#) but it is the False part I'm having problems with. I need it to show all records.
Can someone please prod me with a stick...
I have a query take returns results based on several combos. Standard stuff =[forms]![frmMain]![cboWorkSlips] etc.
However on two of combo critieria selections I would like to have and "ALL" option. Once again easy enough with a union.
What I having problem with is this. Two of the combos use numbers 1,2,3,4... etc. So I can report 1 or 2 etc. I would like the "ALL" to show all.
The iif function is ok IIf([forms]![frmMain]![cboWorkSlipsSect]>0,[forms]![frmMain]![cboWorkSlipsSect],#) but it is the False part I'm having problems with. I need it to show all records.
Can someone please prod me with a stick...