marcuscoker
Registered User.
- Local time
- Today, 15:14
- Joined
- Sep 28, 2005
- Messages
- 49
Hi was wondering if anybody could help me with this. I have a report that is based on a query. The query filters the records by textboxes on a form. At the moment I am filtering one of the date fields like so
>=[Forms]![ReportsMenu]![txtstartdate] And <=[Forms]![ReportsMenu]![txtenddate]
But what I also want to do is have it so that the user can also leave the date fields blank and still get all the records, like this
Like [Forms]![ReportsMenu]![frmClinic] & "*" Or Is Null
But the above does not seem to work when using the >= <= can anybody help me with this, I would really appreciate it.
Thanks
Marcus
>=[Forms]![ReportsMenu]![txtstartdate] And <=[Forms]![ReportsMenu]![txtenddate]
But what I also want to do is have it so that the user can also leave the date fields blank and still get all the records, like this
Like [Forms]![ReportsMenu]![frmClinic] & "*" Or Is Null
But the above does not seem to work when using the >= <= can anybody help me with this, I would really appreciate it.
Thanks
Marcus