Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FormSet not releasing DataSession
Message
 
 
To
27/07/2001 12:08:56
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00536490
Message ID:
00536920
Views:
10
Try to switch back to default datasession using SET DATASESSION TO before closing formset. It should release your private DataSession.

>I have a FormSet with a private DataSession that activates various forms.
>When a form is released, it checks if it is the last active form, it releases the dataset.
>I noticed that if one of the form are activated, when the FormSet is released,
>the DataSession remains with all tables and cursors open.
>
>I added to the FormSet
>********************************************************
>PROCEDURE UnLOAD
> CLOSE DATA ALL && ????? Not always releasing datasession,
> && atleast close files
> DODEFAULT()
> RELEASE ofrsARTrns
>ENDPROC && UnLoad
>********************************************************
>The files are noe closed,
>but the DataSession remains.
>
>Any ideas?
>
>Thanks
>Shlomo
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform