Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Free tables vs DBC
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00740632
Message ID:
00740646
Vues:
27
Hi Alejandro,

Also, you would not be able to use transactions. Transactions are very useful when performing table updates. For example, in my app I use transactions when run the pay definition table to create payroll transactions for each employee. If the payroll transactions complete successfully (e.g. all tableupdates() returned true) then I do a end transaction. If any insert does not update successfully (e.g. the tableupdate return false), then I print out the employee, error message, and the exact type of update that failed (e.g. regular salary, overtime, FTW, SS, etc). Then I issue a rollback. This avoid the situation where the app fails with no way to know which transactions were written and which transactions failed. Either all tranactions are committed, or no transactions are committed.

LelandJ
Leland F. Jackson, CPA
Software - Master (TM)
smvfp@mail.smvfp.com
Software Master TM
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform