I have a code that I am currenly using with a button to move to the next record.
I just want it to loop by itself. I am currently having to press the Update button for it to move to the next record.
Thank You
Private Sub UpdateAllComments_Click()
Dim memoContent As String
memoContent = Me.Remarks1
If Not Me.Recordset.EOF Then
Me.Recordset.MoveNext
Me.Recordset.EOF
Me.Remarks1 = memoContent
Me.Repaint
Call TrackUser
Else
MsgBox "Already at last record"
End If
End Sub
I just want it to loop by itself. I am currently having to press the Update button for it to move to the next record.
Thank You
Private Sub UpdateAllComments_Click()
Dim memoContent As String
memoContent = Me.Remarks1
If Not Me.Recordset.EOF Then
Me.Recordset.MoveNext
Me.Recordset.EOF
Me.Remarks1 = memoContent
Me.Repaint
Call TrackUser
Else
MsgBox "Already at last record"
End If
End Sub