G
Guest
Writing a QBF but having problem searching a time field. It was created as a
text field, so I wrote my criteria as a text field, see below.
If Not IsNull(txtTimeserved) Then
If Whereclause <> "" Then Whereclause = Whereclause & " AND "
Whereclause = Whereclause & "[time served] = '" & txtTimeserved & "'"
End If
Returns nothing. Do I need to convert to date/time and then format it like
I have done with date fields?
text field, so I wrote my criteria as a text field, see below.
If Not IsNull(txtTimeserved) Then
If Whereclause <> "" Then Whereclause = Whereclause & " AND "
Whereclause = Whereclause & "[time served] = '" & txtTimeserved & "'"
End If
Returns nothing. Do I need to convert to date/time and then format it like
I have done with date fields?