General SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesGeneral SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old January 11th, 2003, 09:11 AM
mariaflor mariaflor is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Posts: 4 mariaflor User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy My SQL data base server with ADO recorsets from Visual Basic

i'm programming an application in Visual Basic using My Sql as DataBase server. In visual basic i'm currently using ADO.
I'm trying to use a transaction to store data in MY SQL using ADO recordsets for "Insert" an "Update" sentences.
When a RollBack action occurs, Visual Basic shows an error that tells that "some non rollback action couldn't be rollback".

Also i'm trying to make one big sentences separated with ";" but in Visual Basic couldn't run.


What can I do to rollback all the sentences.

Thanks in Advance.

MariaFlor

Reply With Quote
  #2  
Old January 29th, 2003, 11:11 PM
ramz ramz is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: Juiz de Fora - MG- Brazil
Posts: 93 ramz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via ICQ to ramz Send a message via MSN to ramz
Hi Mariaflor!
Look, for what I know, MySQL started to support transactions in the newest versions only. And your tables must be the type of InnoDB or BDB.
If you can't change your tables type, you should also consider using the command:

LOCK TABLES table_name READ, table_name2 WRITE;

And after finishing the SQLs... use:

UNLOCK TABLES;

By the way, to change to those kind of table types, I think that is only at the creation of the table.
You can get a software called MySQLFront, it's freeware and I think that with it you can do it.
__________________
Regards,
Ramiro Varandas Jr.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesGeneral SQL Development > My SQL data base server with ADO recorsets from Visual Basic


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway