Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tableupdate Help
Message
De
19/05/1999 15:05:01
Jorge Haro
Independent Consultant
Juarez, Mexique
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00220564
Message ID:
00220569
Vues:
20
I'm not aware of a way to do this, it probably would be easier to check the places where you update. In a standard scenario you'd have a save method, and you could do the checking there. A problem I use to have is that TableUpdate() did not generate ab error, or rather, did not call my error handler, so I had to change my save method from:

if tableupdate()
*!* it worked
else
*!* it didn't, revert
endif

to:

if tableupdate()
*!* it worked
else
=aerror(aErr)
ERROR(aErr(1,1)) && I had to trigger the error myself
endif

that solved it for me, because basically my problem was that conflicts were not being reported at the time they occured, but until there was a record change or the tables where closed.

HTH
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform