G
Guest
Hi,
I am having problems with this code which does not want to work in a text
box of my report
"CompanyAVisits Query" is the query the report is based upon.
Field Names as follows:
[Unit] text field
[VisitType] LookUp Field to show "Full", "Flash", "Ad Hoc" or "Investigation"
The report works with no problems it is only when I try to sum up the .
However when I want to report on how many "Full" or "Flash" visits have been
totaled on the report I get 'Error#' in my text box where these functions
are. The text boxes are in the report footer
=DCount("[Unit]","CompanyAVisits Query","[VisitType] = 'Full'")
And
=DSum("Cost","CompanyAVisit Query","[Divisions] = 'Entertainment'")
Regards,
Graeme.
I am having problems with this code which does not want to work in a text
box of my report
"CompanyAVisits Query" is the query the report is based upon.
Field Names as follows:
[Unit] text field
[VisitType] LookUp Field to show "Full", "Flash", "Ad Hoc" or "Investigation"
The report works with no problems it is only when I try to sum up the .
However when I want to report on how many "Full" or "Flash" visits have been
totaled on the report I get 'Error#' in my text box where these functions
are. The text boxes are in the report footer
=DCount("[Unit]","CompanyAVisits Query","[VisitType] = 'Full'")
And
=DSum("Cost","CompanyAVisit Query","[Divisions] = 'Entertainment'")
Regards,
Graeme.