G
GMC
Hello all,
Using Access 2000
I have a report that is based on a query. The query is pulling all records
within a certain date. Right now if there are no records within that date
period, the report comes up with #error in the spot where it counts the
number of people helped. What it doesn't do however, is add the dates I
input into the query. It also leaves those blank. What I would like is if
the report doesn't come up with any records, that it would put in the query
dates I have input.
Here is the query:
SELECT OSERVICE.OSID, OSERVICE.OSOFFICENUM, OSERVICE.OSPHELPED,
OSERVICE.OSDATEEND, OSERVICE.OSNOTE, OSERVICE.OSHOURS, OSERVICE.OSSNUM,
OSERVICE.OSFUNDSNUM, OSERVICE.OSEST, OSERVICE.OSEstNarrative,
OSERVICE.OMGoodStory, OSERVICE.OMGSNote, OSERVICE.OMPcode
FROM OSERVICE
WHERE (((OSERVICE.OSDATESTART) Between [Enter beginning date OPENED] And
[Enter ending date OPENED]) AND ((OSERVICE.OMCode)=106));
On the report I have two text fields, one says
[Enter beginning date OPENED]
and the other says [Enter ending date OPENED]
In those two fields I would like it to list the two dates I input when the
report asked for it.
Any suggestions?
Thank you.
Using Access 2000
I have a report that is based on a query. The query is pulling all records
within a certain date. Right now if there are no records within that date
period, the report comes up with #error in the spot where it counts the
number of people helped. What it doesn't do however, is add the dates I
input into the query. It also leaves those blank. What I would like is if
the report doesn't come up with any records, that it would put in the query
dates I have input.
Here is the query:
SELECT OSERVICE.OSID, OSERVICE.OSOFFICENUM, OSERVICE.OSPHELPED,
OSERVICE.OSDATEEND, OSERVICE.OSNOTE, OSERVICE.OSHOURS, OSERVICE.OSSNUM,
OSERVICE.OSFUNDSNUM, OSERVICE.OSEST, OSERVICE.OSEstNarrative,
OSERVICE.OMGoodStory, OSERVICE.OMGSNote, OSERVICE.OMPcode
FROM OSERVICE
WHERE (((OSERVICE.OSDATESTART) Between [Enter beginning date OPENED] And
[Enter ending date OPENED]) AND ((OSERVICE.OMCode)=106));
On the report I have two text fields, one says
[Enter beginning date OPENED]
and the other says [Enter ending date OPENED]
In those two fields I would like it to list the two dates I input when the
report asked for it.
Any suggestions?
Thank you.