G
Guest
I have a report based on a query. In the report I'm trying to create a text
box that will count the number of records in the query, however the =Count(*)
expression, when used in the report, results in an error. Any help?
Also, in the same report I'd like to be able to create another text box that
would sum a value based on Count number along with the prompted values of
several unboud text boxes, along with a constant (the fax cover page).
Specifically, the report is for refill requests, and displays 14 records per
page. If the count is <=14, I'd like the value to be 1, if 15 through 28,
I'd like it to be 2, etc. etc. So I'm thinking the expression would go
something like this:
=1+[New Prescriptions]+[Med Info Sheets]+[Provider Records]+(IIf([Total
Refills]<=14, "1", IIf([Total Refills] Between 15 And 28, "2", IIf([Total
Refills] Between 29 And 35, "3", "4"))))
I know this doesn't work though, so any correction would be great.
thanks,
Mike
box that will count the number of records in the query, however the =Count(*)
expression, when used in the report, results in an error. Any help?
Also, in the same report I'd like to be able to create another text box that
would sum a value based on Count number along with the prompted values of
several unboud text boxes, along with a constant (the fax cover page).
Specifically, the report is for refill requests, and displays 14 records per
page. If the count is <=14, I'd like the value to be 1, if 15 through 28,
I'd like it to be 2, etc. etc. So I'm thinking the expression would go
something like this:
=1+[New Prescriptions]+[Med Info Sheets]+[Provider Records]+(IIf([Total
Refills]<=14, "1", IIf([Total Refills] Between 15 And 28, "2", IIf([Total
Refills] Between 29 And 35, "3", "4"))))
I know this doesn't work though, so any correction would be great.
thanks,
Mike