Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Begintrans/committrans error
Message
De
16/06/1998 23:37:44
Darryl Minsky
Stallion Software Systems Ltd.
Calgary, Alberta, Canada
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Contrôles ActiveX
Titre:
Begintrans/committrans error
Divers
Thread ID:
00108940
Message ID:
00108940
Vues:
103
Hello:

I have a problem the occurs occasionally where
VB 4.0 Pro tells me that I am NOT in a transaction,
where that is impossible! This is done on a Access 97
database.

I have code such as:

DBEngine.Workspaces(0).BeginTrans

< lots of processing here >

DBEngine.Workspaces(0).commitrans

this works 99.9999% of the time, but that one time
the Commitrans says that I am not in a transaction.

When this happens, all my updates ARE written to the database,
like I want, but the committrans blows up.

Is there a way that I can tell if my BeginTrans took, and
that I am actually "in a transaction" ?

Darryl Minsky
Calgary, Alberta, Canada
Stallion Software Systems Ltd.
Calgary, Alberta, Canada
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform