Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

error when using code to delete from sql table within access

Status
Not open for further replies.

daveonion

Programmer
Aug 21, 2002
359
GB
Hi i've got the following code,

CurrentDb.Execute "Delete * From dbo_tbl_poster Where dbo_tbl_poster.[ris_poster_risuid] = '" & Me.uid_scf & "'"

to delete an entry out of a table, the table is attached to sql server and when i execute the code the following error occurs

You must use the dbSeeChanges option with OpenRecordset when accessing a SQL Server table that has an IDENTITY column. (Error 3622)

anybody out there have any ideas

much appreciated

Dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top