J
Jenno
I have a form with 2 labels, one for the current record (lblRecCount),
the other for the total records (lblTotRec). I use the following code
after a filter is set to capture the total records:
Me.RecordsetClone.MoveLast
lblTotRec.Caption = Me.RecordsetClone.RecordCount
....and the following code to update the current record each time the
user moves between records:
Private Sub Form_Current()
lblRecCount.Caption = Me.Recordset.AbsolutePosition + 1
End Sub
This works fine on my computer all the time, however, another user with
their own copy of the db gets odd results as they move through the
records. The first record displays as record #2 and the second as
record #1, records 3 onwards are ok until they get to the last 2
records when tranposition reoccurs.
Any thoughts?
Thanks in advance.
the other for the total records (lblTotRec). I use the following code
after a filter is set to capture the total records:
Me.RecordsetClone.MoveLast
lblTotRec.Caption = Me.RecordsetClone.RecordCount
....and the following code to update the current record each time the
user moves between records:
Private Sub Form_Current()
lblRecCount.Caption = Me.Recordset.AbsolutePosition + 1
End Sub
This works fine on my computer all the time, however, another user with
their own copy of the db gets odd results as they move through the
records. The first record displays as record #2 and the second as
record #1, records 3 onwards are ok until they get to the last 2
records when tranposition reoccurs.
Any thoughts?
Thanks in advance.