Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Releasing a form from within Init
Message
From
21/05/1998 12:24:28
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00100829
Message ID:
00100872
Views:
42
Cursors you created wouldn't be closed with de.clostables so you should do a series of :
use in (cAliasName)
I wouldn't say a loop here because you may want to preserve some of them. If datasession is private they could be get rid of in one step also.
Cetin
>Thanks Cetin,
>
>Thats exactly what I was looking for...its taking awhile for me to learn all of these commands. One more quick question...the de.closetables closed all the tables, except the cursors that I created in the load event with create cursor command. Am I right in thinking that as well as issuing the de.closetables I would have to do a select "cursor name, use" for each cursor created before the return .f.?
>
>>Paul,
>>1) Set your DE.autoopen = .f. and if not returning .f., call thisform.de.opentables,
>>Or
>>2) Call thisform.de.closetables before returning .f.
>>Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform