Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unknown Datasession
Message
From
24/06/1998 04:46:07
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00110940
Message ID:
00111163
Views:
19
>>I have a form (form2) which is called from another form (form1) having a private datasession. After attempting to delete a record on form 2 which fails because of database triggers and upon releasing both forms an unkown datasession is left active. The only way I can get rid of this datasession is by restarting fox. >> >>Any ideas? > >I have had that in the past... >Basically, when the update occurs and the stored procedure crashes, the data session appears in a half-baked update mode... Try using tablerevert() or rollback, then close all from that data session. the de can't close (and release the Datasession) since the SP failed and didn't complete a ROLLBACK or END TRANSACTION indeed completing or canceling the transaction clears the objref to the DE and allows it to close (with the datassesion) Arnon
Previous
Reply
Map
View

Click here to load this message in the networking platform