Getting an End of Statement error in my SQL Statement. Can somebody look at and tell where I went wrong..
strSQL = strSQL & "WHERE ((Month([InputDate])=" & CInt(gstrMonth) & " CInt(gstrYear) & " )) AND ((tblInput.UserID)=" & glngUserID & "
AND ((tblInput.InputText)=('1/2 Vacation Day')));"
I think it's between the year and month.
Thanks
Mike
strSQL = strSQL & "WHERE ((Month([InputDate])=" & CInt(gstrMonth) & " CInt(gstrYear) & " )) AND ((tblInput.UserID)=" & glngUserID & "
I think it's between the year and month.
Thanks
Mike