Versions des environnements
>>Hi,
>>
>>Sometimes when I am debugging an application I run into a problem during one of the tables updates. And then I cannot close VFP since I am getting message:
>>
>>Data session #- some number - cannot be released with open transaction.
>>
>>So far, the only way I found to close VFP in this case is to end it in Task Manager.
>>
>>Is there a command I can issue in the Command window to release the transactions?
>>
>>TIA.
>
>You need to issue tablerevert(.t.) and then rollback after switching to this DS.
TABLEREVERT is not usable within a transaction.
you need
TABLEUPDATE(.T.)
ROLLBACK
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