stevie1under
Technical User
hey,
i have the following code that won't loop ...
anyone see the problem?
Private Sub Form_Current()
Dim rSt As DAO.Recordset
Set rSt = Me.Recordset
Dim int2Count As Integer
int2Count = rSt.RecordCount
If int2Count = 0 Then Exit Sub
rSt.MoveFirst
Do Until rSt.EOF = True
subChangeBackColor
rSt.MoveNext
Loop
End Sub
thanks
steve
i have the following code that won't loop ...
anyone see the problem?
Private Sub Form_Current()
Dim rSt As DAO.Recordset
Set rSt = Me.Recordset
Dim int2Count As Integer
int2Count = rSt.RecordCount
If int2Count = 0 Then Exit Sub
rSt.MoveFirst
Do Until rSt.EOF = True
subChangeBackColor
rSt.MoveNext
Loop
End Sub
thanks
steve