I'm assuming that you have disabled the navigation buttons, and are using the
scroll bar or some other mechanism to move between records.
Where did you put this code, or did you put it in the control source of a
textbox?
Whenever I disable the navigation buttons, and want to display the number of
records, I put some code in either the forms load event, or the current event
(if I want to know which record I'm on), and I generally use a label, rather
than a textbox to display the data.
Private Sub Form_Load
me.lbl_RecCount.Caption = me.recordsetclone.recordcount & " records"
end sub
Private Sub Form_Current
me.lbl_RecCount.caption = me.currentrecord & " of " _
& me.recordsetclone.recordcount
End sub
--
HTH
Dale
email address is invalid
Please reply to newsgroup only.