Gazzamuffin
MIS
I have a parameter query that is determined by the date entered on a form. The field contains either a date or is blank.
If the form is left blank I need all data to be returned, if a date is entere I need only those greater than the date entered to be returned.
I have tried
IIf(isnull([Form]),[date],>[Form])
however if the form is left blank it only returns all those with dates and excludes the blank fields.
Can anyone help?
Cheers
G
If the form is left blank I need all data to be returned, if a date is entere I need only those greater than the date entered to be returned.
I have tried
IIf(isnull([Form]),[date],>[Form])
however if the form is left blank it only returns all those with dates and excludes the blank fields.
Can anyone help?
Cheers
G