rikklaney1
Registered User.
- Local time
- Today, 03:42
- Joined
- Nov 20, 2014
- Messages
- 157
I have a question about generating a report. In the criteria of the query my report is based on I have this...
[forms]![subfrmCustom_report]![serial]
which works great to look up the record for that serial number. Now is it possible to modify this so that if I leave that field on the form blank it will return all the records? I tried this...
iif(not isnull([forms]![subfrmcustom_report]![serial],[forms]![subfrmcustom_report]![serial],)
but no luck. Where am I going wrong?
[forms]![subfrmCustom_report]![serial]
which works great to look up the record for that serial number. Now is it possible to modify this so that if I leave that field on the form blank it will return all the records? I tried this...
iif(not isnull([forms]![subfrmcustom_report]![serial],[forms]![subfrmcustom_report]![serial],)
but no luck. Where am I going wrong?
