Simple Counting Function

  • Thread starter breeden.christopher
  • Start date
B

breeden.christopher

Sorry, I'm fairly new to access, but I need to figure out how to:

Count the number of records in a query.
and display it in a text box named txtBox.

Could I get a hand with this? Thanks in advance.
 
G

Guest

I assume you are using the query as a source for a form? Put the following in
the control source of the text box

=RecordsetClone.RecordCount
 
M

Marshall Barton

Sorry, I'm fairly new to access, but I need to figure out how to:

Count the number of records in a query.
and display it in a text box named txtBox.


Use a text box (in the form's header or footer section) with
the expression =Count(*)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top