Information générale
Catégorie:
Visual FoxPro Beta
Hi Suhas,
Why do you think that making cursor transactable somehow connected to setting buffering to 5? In fact, if cursor is in table buffering mode, it can not be made transactable.
I use them (in order not to create a sea of cursors).
I use various SPT Cursors into a Private DS with this logic:
- Buffering 5 for change statuses and local undo capability, value by value
- when i have to validate a user input that change a field value,
i open a temporary transaction, bacause this can change others cursors,
if a business rule is violated the rollback this single operation.
I cannot do this in VFP ?
Thanks
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement