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!

Displaying number of records in textbox

Status
Not open for further replies.

Handford

Technical User
Oct 4, 2005
19
GB
I would like to display the number of records (like seen using the navigation buttons) in a text box on my form. Is this possible? Will it update when filters are added to the data?

Thanks,

Chris
 
Something like this ?
=Me.Recordset.RecordCount

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Thanks, but I don't seem to be able to get hat to work.

I put =[Me].[Recordset].[RecordCount] in the control source property of the text box but unfortunatly it did not recognise it.

Am I using it right?

Chris
 
And this (don't use brackets)?
=Me.RecordsetClone.RecordCount

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Sorry about this. I have tried both and neither seem to work.

However when I put the =Me.RecordsetClone.RecordCount into the control source property it automatically adds brackets and becomes =[Me].[RecordsetClone].[RecordCount] on lost focus.

Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top