shabbaranks
Registered User.
- Local time
- Today, 15:01
- Joined
- Oct 17, 2011
- Messages
- 300
Hi,
Ive added breaks and the variables are returning their values fine when I hover over them, but can I see where the syntax error is - can I.....
Friday points for the first to spot it as I cant seem to
Ive added breaks and the variables are returning their values fine when I hover over them, but can I see where the syntax error is - can I.....
Code:
strSQL = "SELECT TimesheetTable.sUser, TimesheetTable.Activity, TimesheetTable.Hours, TimesheetTable.Project, TimesheetTable.[Task Date], TimesheetTable.Description " & vbCrLf & _
"FROM TimesheetTable " & vbCrLf & _
"WHERE (((TimesheetTable.sUser)=""" & strEmployeeName & """) AND ((TimesheetTable.Project)=""" & strProject & """) AND ((TimesheetTable.[Task Date])>=#" & frDate & "# And <=#" & toDate & "#));"
Friday points for the first to spot it as I cant seem to
