R
Robin Hickman
Hi,
What is the problem with this code?
Private Sub Form_Current()
Dim rst As Recordset
Set rst = Me.RecordsetClone
Forms!Actions.Controls!lblMaxRecordCount.Caption = rst.RecordCount
End Sub
I get a runtime error 13 "Type Mismatch" and debug points to the line:
Set rst = Me.RecordsetClone as the problem
What am I doing wrong?
Thanks!!
Robin
What is the problem with this code?
Private Sub Form_Current()
Dim rst As Recordset
Set rst = Me.RecordsetClone
Forms!Actions.Controls!lblMaxRecordCount.Caption = rst.RecordCount
End Sub
I get a runtime error 13 "Type Mismatch" and debug points to the line:
Set rst = Me.RecordsetClone as the problem
What am I doing wrong?
Thanks!!
Robin