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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ADO cursor probs

Status
Not open for further replies.

martinm

IS-IT--Management
Mar 30, 2001
113
0
0
GB
Hi, I'm modding a D7/SQL Server 2005 Express app. which uses ADOQueries.

When I try and post an edited record I get exception

'A cursor with the name 'MY Cursor' already exists'.

I've tried changing the 'recordset approach' to a straight SQL 'Update' statement, but get the same.

I've even closed and reopened the shared connection just before to ensure nothing else is open!!

Could this be another error with the wrong exception?

Ta,

Martin.

 
Solved it - for some reason the 2 triggers I had seemed to be called mutliple times. Put it all into 1 trigger now...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top