D David W Mar 10, 2005 #1 Is there a simple way to count the number of records loaded into a subform?
S Sandra Daigle Mar 10, 2005 #2 From the main form? Here's how I would do it - where 'sfrmTest' is the name of the subform control on the mainform: With Me.sfrmTest.Form.RecordsetClone If Not (.BOF And .EOF) Then .MoveLast End If Me.txtRecordCount = .RecordCount End With
From the main form? Here's how I would do it - where 'sfrmTest' is the name of the subform control on the mainform: With Me.sfrmTest.Form.RecordsetClone If Not (.BOF And .EOF) Then .MoveLast End If Me.txtRecordCount = .RecordCount End With