Greetings,
I have a subform where I can edit data and I have the following code;
Public Sub GotoNewRecord()
If Me.sumtransvolume = me.TotalLitres Then
Me.LabOpNumber.SetFocus
Else
DoCmd.GoToRecord , , acNext
End If
what occurs is that focus moves to a new record not the next record.
I am puzzles by this? Any clues how to fix this and get the control moving to the next record (some subform has 10-15 records)
rbinder
I have a subform where I can edit data and I have the following code;
Public Sub GotoNewRecord()
If Me.sumtransvolume = me.TotalLitres Then
Me.LabOpNumber.SetFocus
Else
DoCmd.GoToRecord , , acNext
End If
what occurs is that focus moves to a new record not the next record.
I am puzzles by this? Any clues how to fix this and get the control moving to the next record (some subform has 10-15 records)
rbinder