Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data Transaction??
Message
De
21/06/2005 22:03:06
 
 
À
21/06/2005 21:50:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01025330
Message ID:
01025331
Vues:
15
Hi,
With tabled buffered
* Make your data changes here

llOK = .T.

BEGIN TRANSACTION

IF llOK AND NOT TABLEUPDATE(.T., .F., 'Table1')
   llOK = .F.
ENDIF

IF llOK AND NOT TABLEUPDATE(.T., .F., 'Table2')
   llOK = .F.
ENDIF

IF llOK AND NOT TABLEUPDATE(.T., .F., 'Table3')
   llOK = .F.
ENDIF

IF llOK
   END TRANSACTION
   FLUSH               && FLUSH FORCE for VFP9
ELSE
   ROLLBACK

   TABLEREVERT(.T., 'Table1')
   TABLEREVERT(.T., 'Table2')
   TABLEREVERT(.T., 'Table3')
ENDIF
HTH
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform