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

Record Count of a Sub form 1

Status
Not open for further replies.

Vcscwi

Programmer
Jan 15, 2004
57
US
How do I get a text box on a form to display the record count of a subform?

This should be easy...

Thanks!
 
[tt]=Forms!MainForm!SubFormCtl.Form.RecordsetClone.RecordCount[/tt]

VBSlammer
redinvader3walking.gif

"You just have to know which screws to turn." - Professor Bob
 
Wow. That's a lot cleaner than the silly subform answer I gave the other day.

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
I think I'm realizing that I may have to use the DCount function, as I want to count the number of attendees that are attending a function. That is...any record where Attending=Yes.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top