I've got the following code on the current event of the form to display "[CurrentRecord] of [TotalRecords]" in txtRecordCount:
It used to work fine, but now, when I close and open the form, the record count shows "[CurrentRecord] of [CurrentRecord + 1]" and after a couple next record clicks, it starts working fine again.
Code:
With Me
!txtRecordCount = .CurrentRecord & " of " & .RecordsetClone.RecordCount
End With