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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Count records returned by a parameter query

Status
Not open for further replies.
Jan 22, 2001
124
US
I'm attempting to count the number of records diplayed on a form. This forms' record source is a query. The query results are based on a parameter. The paramter is located in the "Date Completed" field: Between [Enter Begin Date] And [Enter End Date]. When the form opens, a Run-time error '64479' occurs. The message states "The expression you entered as a query parameter produced this error: The object doesn't contain the Automation object 'Enter Begin Date'." I have used the same code on forms based on non-parameter queriesn to get a record count, and they worked fine. Any ideas on how to get around this. Any and all help will be greatly appreciated. Thanks in advance.

--Rob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top