ajetrumpet
Banned
- Local time
- Today, 01:52
- Joined
- Jun 22, 2007
- Messages
- 5,638
I'm trying to use FindFirst to look up the current date in my "workdate" field. The find method works, but the program is not reacting correctly to the .NoMatch property after that line. Here is the code:
I'm stuck! Help! Someone please give me a boost! 
Code:
.FindFirst ("[workdate] = " & Date)
If [COLOR="Red"].NoMatch = True[/COLOR] Then[COLOR="Red"] <--- This is being executed, even if there is a
matching record found.[/COLOR]
.AddNew
!workdate = Date
!timein = Time()
.Update
Else
For i = 1 To rs.Fields.Count - 1
If IsNull(.Fields(i)) Then
.Edit
.Fields(i) = Time()
.Update
Exit For
End If

Last edited: