C
Chris Strug
Hi,
Sorry if this is an obvious question but, I have a report. It's fairly
simple, just a list of ID's grouped by a company.
However, I'd like to include a count of the containers for each company in
the company group footer.
Thus far I have decided to use "DCount", however for the life of me I cannot
get it to work. Below is exactly what I have entered in the Data field for a
text box in the footer:
DCount("qryLongStayContainers","ContainerNo","Customer = '" & [Customer] &
"'")
I have checked and there are no typos! The source of the data is the query
named "qryLongStayContainers", and I'm trying to count the number of
containers for the specified customer.
If anyone could point out where I'm being thick I'd be very grateful.
Kind thanks
Chris Strug
Sorry if this is an obvious question but, I have a report. It's fairly
simple, just a list of ID's grouped by a company.
However, I'd like to include a count of the containers for each company in
the company group footer.
Thus far I have decided to use "DCount", however for the life of me I cannot
get it to work. Below is exactly what I have entered in the Data field for a
text box in the footer:
DCount("qryLongStayContainers","ContainerNo","Customer = '" & [Customer] &
"'")
I have checked and there are no typos! The source of the data is the query
named "qryLongStayContainers", and I'm trying to count the number of
containers for the specified customer.
If anyone could point out where I'm being thick I'd be very grateful.
Kind thanks
Chris Strug