Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
INSERT INTO statement
Message
From
19/09/2000 05:04:17
 
 
To
All
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
INSERT INTO statement
Miscellaneous
Thread ID:
00417975
Message ID:
00417975
Views:
55
I got the following error: (VB6 on Access 2000)

Run-time error
Missing semicolon (;) at end of SQL statement

My SQL statement is:
cnn1.Execute "INSERT INTO Table1(IndexNo, CustName, Birthday, " & _
"VALUES('" & Trim(!IndexNo) & "', '" & Trim(!CustName) & "', #" & _
Trim(CStr(!Birthday)) & "#" & _
"WHERE Table1.IndexNo <> '" & Trim(!IndexNo) & _
"' AND Table1.CaseClosed = False"

The error occurs when I added the "WHERE....." statement. Pls advise.
Next
Reply
Map
View

Click here to load this message in the networking platform