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

How to count records in a filtered subform

Status
Not open for further replies.

rew2009

Technical User
Apr 21, 2009
114
US
I changed from list boxes to subforms with dataview (to look like the list boxes) and all is working fine. However, I had code to count the number of records being filtered by the list box but don’t know how to do it with the subforms. The code I used with list boxes was: Me.Text654.VALUE = Me.List652.ListCount – 1. What would be equivalent code for a subform named “subformcities”. Thanks

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top