Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Release a Cursor
Message
From
08/11/1999 21:51:18
 
 
To
08/11/1999 21:48:36
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00288195
Message ID:
00288844
Views:
12
Really, its a whole design methodology, so, yes.

If you go with all Private Datasession (I do, almost exclusively)- each form has to fend for itself as far as open tables and correct record pointers. This means instead of interform dependencies, you need to be passing parameters around that hold PK values and such.

>Hi Erik,
>
>Thanks for the reply. That sure worked... are there any gotcha's on setting the form's datasession to private?
>
>
>>>I have a form where I create several CURSORS with CREATE CURSOR. Is there another way to release the cursors when the form is destroyed than to SELECT each one then USE them? Can I add them to the DE or something like that when I create them???
>>>
>>>
>>>Thanks
>>
>>If the form has a private datasession, they will be destroyed when the form closes.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform