<P>I think you have to run UPDATES via the DataConnection.Execute like below, can't remember the exact code but should get you started.</P>
<P>Dim DBConn As ADODB.Connection</P>
<P>Dim mySql As String</P>
<P>mySql = "UPDATE MyTable SET item_ref_date = Now() <BR>WHERE item_id = 16" <BR></P>
<P>set the DBConn with the connection string to the desired database then.</P>
<P>DBConn.Execute(mySql)</P>
<P>Paul<BR><BR><BR><BR></P>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #ff0000 2px solid">Message date : Oct 15 2003, 03:49 PM <BR>From : Drawbridge.Jack@ic.gc.ca <BR>To : accessd@databaseadvisors.com <BR>Copy to : <BR>Subject : [AccessD] ADO OpenRecordest with Update <BR><BR>Is it possible to have an ADO openrecordset ("sql_string") where the <BR>sql_string is an UPDATE statement? I see examples with SELECTs but no <BR>Update. <BR><BR>We are getting error 3219 Invalid Operation <BR><BR>mySql = "UPDATE MyTable SET item_ref_date = Now() <BR>WHERE item_id = 16;" <BR><BR>Thanks <BR><BR>jack <BR>_______________________________________________ <BR>AccessD mailing list <BR>AccessD@databaseadvisors.com <BR>http://databaseadvisors.com/mailman/listinfo/accessd <BR>Website: http://www.databaseadvisors.com <BR></BLOCKQUOTE>