A
AlexD
How could highlight the matched row with red to alert user
and how I could avoid (associated with EOF) an error
message "no current record"?
With rstRecycled
If .RecordCount <> 0 Then
.MoveFirst
Do While Not .EOF
.MoveNext ' <need to avoid "no current
record">
If ![ToBeUsedDate] > Date - 3 Then
???????????????????????
' highlight the row with a red color
End If
Loop
End If
End With
rstRecycled.Close
dbs.Close
and how I could avoid (associated with EOF) an error
message "no current record"?
With rstRecycled
If .RecordCount <> 0 Then
.MoveFirst
Do While Not .EOF
.MoveNext ' <need to avoid "no current
record">
If ![ToBeUsedDate] > Date - 3 Then
???????????????????????
' highlight the row with a red color
End If
Loop
End If
End With
rstRecycled.Close
dbs.Close