Make sure you have a primary key on the table in question.

Then, perform a manual insert inside the database itself.

-----Original Message-----
From: Tim Laureska [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 03, 2005 12:05 PM
To: CF-Talk
Subject: query error

Can't quite figure out why this would generate an error AND what  "
Operation must use an updateable query " means:

Error Executing Database Query.
[Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC
Microsoft Access Driver] Operation must use an updateable query.
 
The error occurred in
E:\Inetpub\wwwroot\test\admin\calendar_admin\addevent.cfm: line 51

49 : <cfquery datasource="testdsn" name="EventsCalendar" dbtype="ODBC" >
50 : INSERT INTO EventsCalendar(EventName, EventDesc, CreatedBy)
51 :    Values('#form.EventName#', '#form.eventdesc#',
'#form.createdby#')
52 : </cfquery>




Tim 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:208543
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to