J
Jasonm
Hi all!
I am trying to use the following expression as criteria in a query:
IIf([forms].[frmreportsmenu].[cbolocation].[listindex]>0,[forms].[frmreportsmenu].[cbolocation],Is
Not Null)
The problem is that I never return the value - Is Not Null... at least it
does not appear that I am returning that value. If I use "Is Not Null" alone
I get all records in this field. If a selection is made in cboLocation then
only that location is returned. Based on that it seems that everything
should be correct... but still not all records!
I have tried enclosing the phrase in "Is Not Null" and 'Is Not Null' and I
have also tried the following expression, but it seems to work just like the
above expression:
nz([forms].[frmreportsmenu].[cbolocation],"'Is Not Null")
Does anyone here have any ideas about why this would not return the needed
value? All I want to do is return either a single location or all
locations... seems simple enough. (it's always the simple ones...)
Thanks in advance for any assistance that you can offer
Jasonm
I am trying to use the following expression as criteria in a query:
IIf([forms].[frmreportsmenu].[cbolocation].[listindex]>0,[forms].[frmreportsmenu].[cbolocation],Is
Not Null)
The problem is that I never return the value - Is Not Null... at least it
does not appear that I am returning that value. If I use "Is Not Null" alone
I get all records in this field. If a selection is made in cboLocation then
only that location is returned. Based on that it seems that everything
should be correct... but still not all records!
I have tried enclosing the phrase in "Is Not Null" and 'Is Not Null' and I
have also tried the following expression, but it seems to work just like the
above expression:
nz([forms].[frmreportsmenu].[cbolocation],"'Is Not Null")
Does anyone here have any ideas about why this would not return the needed
value? All I want to do is return either a single location or all
locations... seems simple enough. (it's always the simple ones...)
Thanks in advance for any assistance that you can offer
Jasonm