You can't have a WHERE and a VALUES in an INSERT.
Maybe you want an UPDATE?
-----Original Message-----
From: S R [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 01, 2000 1:09 PM
To: [EMAIL PROTECTED]
Subject: Very Weird INSERT Problem
I have tried everything, changing the name of the query, recreating the
table, Naming the field different names and I still get the error:
Missing semicolon (;) at end of SQL statement.
I even tried adding the semicolon and then it says:
Characters found at end of SqL statement.
It is just a simple insert statement going into a table in ACCESS.
<cfquery datasource="synergy" name="TryToInsert">
INSERT INTO USACopy(BusUnitID)
VALUES(8)
WHERE ID = 3
</cfquery>
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.