Hey all,
I know the last thing you probably want to do is look at this form again, but I'm having an issue with the Record Counting feature of the form. It woks fine when I run it as a stand alone form, but when I insert it as a subform I get Error 3021 and it asks me to Debug the numrecs section. I've found that if I blank out the function it works as a subform, just without having a total count of records. Any ideas?
The problem seems to be at (where I inserted the ' symbol):
Code:
Private Function numrecs() As Long
'RecordsetClone.MoveLast
'numrecs = RecordsetClone.RecordCount
End Function
Which is called from:
Code:
Private Sub Form_Load()
RCount = numrecs
End Sub
It seems like it's trying to count the records before they are loaded but I'm not sure what the right answer is to fix it.
Thanks again for all the help! I REALLY do appreciate it.
Jon