How to Display Number of Records

yus786

I do OK
Local time
Today, 23:13
Joined
Jun 25, 2008
Messages
121
Like the standard one at the bottom of a form - Record 1 of 520 etc

How can this be shown somewhere else within a form?
 
Code:
Private Sub Form_Load()
 DoCmd.GoToRecord , , acNext
 DoCmd.GoToRecord , , acFirst
End Sub

Private Sub Form_Current()
 Me.RecordCountField = "Record  " & CurrentRecord & "  Of  " & RecordsetClone.RecordCount & "  Records"
End Sub
 
And a useful link from ghudson.
 

Users who are viewing this thread

Back
Top Bottom