R
RayToddJr
I have the following SQL:
strSQL = "INSERT INTO taDEFENDANTS(TrusteeDefendantID)" & _
"VALUES(lngTrusteeDefendantID)" & _
"WHERE DefendantID=" & lngDefendantID & ";"
The Problem:
I get the following error:
Run-time error 3137:
Missing semicolon ( at end of SQL statement
What am I missing that prevents the code from seeing the semicolon that is
there?
Sorry if this is double posted. My system crashed right after I clicked
post and never saw the first posted.
strSQL = "INSERT INTO taDEFENDANTS(TrusteeDefendantID)" & _
"VALUES(lngTrusteeDefendantID)" & _
"WHERE DefendantID=" & lngDefendantID & ";"
The Problem:
I get the following error:
Run-time error 3137:
Missing semicolon ( at end of SQL statement
What am I missing that prevents the code from seeing the semicolon that is
there?
Sorry if this is double posted. My system crashed right after I clicked
post and never saw the first posted.