Message
From
07/04/2010 13:58:28
 
 
To
07/04/2010 13:56:50
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01459196
Message ID:
01459215
Views:
51
>>>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

Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View