Hi striker,
Count is used to count the number of objects in a collection, not the number of records in a recordset. You can count the number of records in a recordset with the following code. This code assumes that the form is bound to a Query or Table. If it isn't, the RecordsetClone Property won't work and I can suggest alternate code.
Dim rs As DAO.Recordset
Dim numRecs As Integer
Set rs = RecordsetClone
rs.MoveLast
numRecs = rs.RecordCount
You could use the AbsolutePosition Property to determine the current record number and assign a message to a text box named StatusMsg, for example.
StatusMsg.Value = "Viewing Record " & Str(rs.AbsolutePosition + 1) & " of " & numRecs
This code should be placed in the On Current event so it runs whenever the record pointer changes.
dz
dzaccess@yahoo.com