G
Guest
Hi,
Any SQL gurus that could advise why I cannot get this SQL to work?
strSQL4 = "SELECT [2 Current Schedule].* " & _
"FROM [2 Current Schedule] " & _
"WHERE ((([2 Current Schedule].[Job Run Date])= '" & tdyDte & "')
" & _
"AND (([2 Current Schedule].[Job Start Time])>= #07:00:00 AM# " & _
"AND ([2 Current Schedule].[Job Start Time])<= #23:59:59 PM#));"
tdyDte is a date varible in VBA.
Thanks,
GLT.
Any SQL gurus that could advise why I cannot get this SQL to work?
strSQL4 = "SELECT [2 Current Schedule].* " & _
"FROM [2 Current Schedule] " & _
"WHERE ((([2 Current Schedule].[Job Run Date])= '" & tdyDte & "')
" & _
"AND (([2 Current Schedule].[Job Start Time])>= #07:00:00 AM# " & _
"AND ([2 Current Schedule].[Job Start Time])<= #23:59:59 PM#));"
tdyDte is a date varible in VBA.
Thanks,
GLT.