LJtechnical
Technical User
Hi
I need to display a message in the status bar saying something like end of record set when the user tries reaches the end of rcd set. I have played with the echo method but to no avail can any one help. This is what i have:
Dim rcd As Recordset
Set rcd = Me.RecordsetClone
If Me.CurrentRecord < rcd.RecordCount Then
DoCmd.GoToRecord , , acNext
Else
DoCmd.Echo True, "End of Records."
Beep
End If
I need to display a message in the status bar saying something like end of record set when the user tries reaches the end of rcd set. I have played with the echo method but to no avail can any one help. This is what i have:
Dim rcd As Recordset
Set rcd = Me.RecordsetClone
If Me.CurrentRecord < rcd.RecordCount Then
DoCmd.GoToRecord , , acNext
Else
DoCmd.Echo True, "End of Records."
Beep
End If