Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need help with Report!

Status
Not open for further replies.

erik71

MIS
Aug 13, 2001
2
US
I'm making a report in Access. In the footer I'm tring to get a total # of rows in a field and I can't get the syntax right.

SELECTCount [RSCLIENT].[R/D] FROM [RSCLIENT] WHERE [R/D] = A

I've tried it about a hundred different ways. I thought I would stumble across the right way but I'm not having any luck. I know this is easier than I'm making it and I would appreciate any help. Thanks.
 
Hi,

When you say rows in a field, do you mean records in a report. If so search for help on "counting records".

Best regards,

Henr¥
 
erik71
Give this a try.
Within a Text Box, set your control source to
=Dcount("*","TableName","[FieldName] = 'Criteria'")
RGB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top