M
Matt
can anyone help with why this is returning a Data Type mismatch error?
dim strTestDate, strJobNumber
strTestDate = "3/8/2007"
strJobNumber = Request.QueryString("JobNumber")
strConnect = "Driver={Microsoft Access Driver (*.mdb)}; DBQ=\
\CALSJ1\PMAPPS\Intranet\pmdata.mdb"
Set conn = Server.CreateObject("ADODB.Connection")
strSQL = "SELECT * FROM tblWJS_SuperInput WHERE JobNumber = '"&
strJobNumber &"' AND WeekEndingDate = '"& strTestDate &"' "
conn.Open strConnect
Set objRecordSet = conn.Execute(strSQL)
dim strTestDate, strJobNumber
strTestDate = "3/8/2007"
strJobNumber = Request.QueryString("JobNumber")
strConnect = "Driver={Microsoft Access Driver (*.mdb)}; DBQ=\
\CALSJ1\PMAPPS\Intranet\pmdata.mdb"
Set conn = Server.CreateObject("ADODB.Connection")
strSQL = "SELECT * FROM tblWJS_SuperInput WHERE JobNumber = '"&
strJobNumber &"' AND WeekEndingDate = '"& strTestDate &"' "
conn.Open strConnect
Set objRecordSet = conn.Execute(strSQL)