Hi,
Lock Table before update:
Regards,
Gelu
_____________________________________________________
G.NET SOFTWARE COMPANY
Permanent e-mail address : [EMAIL PROTECTED]
[EMAIL PROTECTED]
----- Original Message -----
From: "Christoph L�tjen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 15, 2002 2:14 AM
Subject: MS ADO (VB6.0) Problem with Updates
> Hi all, I use MS VB6 and ADO to access my MySQL-Server.
>
> dim rs as new adodb.recordset
> rs.activeconnection = ConnectionObject
> rs.curserlocation = aduseclient
> rs.cursertype = adopenkeyset
> rs.source = "select * from TABLE where ID = " & id
> rs.open
> rs!FIELD1 = "VALUE"
> ...
> rs.update
> ...
>
> ERROR: Row cannot be located for updating. Some values may have been
changed
> since it was last read.
>
> Any suggestions? Or does anyone know where I can find more information
about
> MySQL and ADO?
>
> Thanks,
> Christoph L�tjen
>
>
> ---------------------------------------------------------------------
> Before posting, please check:
> http://www.mysql.com/manual.php (the manual)
> http://lists.mysql.com/ (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
>
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php