Hi Guys
I have this code below and works ok with a lable box, however is won't show filtered recordset. I know its something to do with Me.lblRecoredCount.Value = DCount("StaffID", "tblStaff", strFilter) but I just can't seem to get the correct end resault.
Thanks for any help
I have this code below and works ok with a lable box, however is won't show filtered recordset. I know its something to do with Me.lblRecoredCount.Value = DCount("StaffID", "tblStaff", strFilter) but I just can't seem to get the correct end resault.
Private Sub Form_Current()
If Me.NewRecord Then
Me.lblRecordCount.Caption = "New Record"
Else
Me.lblRecordCount.Caption = _
"Record " & Me.CurrentRecord & " of " & Me.RecordsetClone.RecordCount
End If
Thanks for any help
