Solved Error 3077 (1 Viewer)

Kayleigh

Member
Local time
Today, 10:32
Joined
Sep 24, 2020
Messages
706
Hi I've written this line of code which compiles without problem but when executed I get a run time error 3077.
Code:
 rst2.FindFirst "[fldDate] = #" & Format(d, "mm\/dd\/yy") & "# AND [fldSLStart] = #" & Format(#1:00:00 PM#, "hh:mm:ss AMPM") & "# AND [fldNote] =" & strNote
Can anyone figure out why?
 

Attachments

  • 3077.png
    3077.png
    6.7 KB · Views: 258

bob fitz

AWF VIP
Local time
Today, 10:32
Joined
May 23, 2011
Messages
4,719
Perhaps:
rst2.FindFirst "[fldDate] = #" & Format(d, "mm\/dd\/yy") & "# AND [fldSLStart] = #" & Format(#1:00:00 PM#, "hh:mm:ss AMPM") & "# AND [fldNote] ='" & strNote & "'"
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 17:32
Joined
May 7, 2009
Messages
19,230
rst2.FindFirst "[fldDate] = #" & Format(d, "mm\/dd\/yyyy") & "# AND [fldSLStart] = #13:00:00# AND [fldNote] ='" & strNote & "'"
 

Users who are viewing this thread

Top Bottom