R
RayToddJr
The following is the SQL that I have in my code:
strSQL = "INSERT INTO taDEFENDANTS(TrusteeDefendantID)" & _
"VALUES(lngTrusteeDefendantID)" & _
"WHERE DefendantID=" & lngDefendantID & ";"
I keep getting the following error:
Run-time error 3137:
Missing semicolon (
at end of SQL statement.
What am I not including so that the code 'sees' the semicolon.
Thanks,
Ray.
strSQL = "INSERT INTO taDEFENDANTS(TrusteeDefendantID)" & _
"VALUES(lngTrusteeDefendantID)" & _
"WHERE DefendantID=" & lngDefendantID & ";"
I keep getting the following error:
Run-time error 3137:
Missing semicolon (
![Wink ;) ;)](/styles/default/custom/smilies/wink.gif)
What am I not including so that the code 'sees' the semicolon.
Thanks,
Ray.