OK I give!
I'm trying to get the following code to work in my query:
IIf([Forms]![frmDetailReportSelection]![ChkPostDate]=True,[Forms]![frmDetailReportSelection]![CmbPosted], "*")
The true part works fine, but the wildcard false part just won't work.
I've tried <=Date()
I've tried >#1/1/1998#
I've tried >#01/01/1998#
I've tried >Format(01/01/1998,"mm/dd/yyyy")
I've even tried using a hidden textbox on my form and making it the false part.
Nothing works!
If I try #08/19/2003# as the false part 'which happens to be a valid date in my data, it returns all records for that date.
Can anyone tell me what I'm doing wrong?
Thanks,
Supmktg
I'm trying to get the following code to work in my query:
IIf([Forms]![frmDetailReportSelection]![ChkPostDate]=True,[Forms]![frmDetailReportSelection]![CmbPosted], "*")
The true part works fine, but the wildcard false part just won't work.
I've tried <=Date()
I've tried >#1/1/1998#
I've tried >#01/01/1998#
I've tried >Format(01/01/1998,"mm/dd/yyyy")
I've even tried using a hidden textbox on my form and making it the false part.
Nothing works!
If I try #08/19/2003# as the false part 'which happens to be a valid date in my data, it returns all records for that date.
Can anyone tell me what I'm doing wrong?
Thanks,
Supmktg