Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keep Tables Open
Message
From
01/08/2003 16:48:22
 
 
To
01/08/2003 16:25:50
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00816026
Message ID:
00816035
Views:
23
>Set up a breakpoint in the debugger on USED("alias"). The code will stop when that value the condition changes.
>
>
>>Now that I got VFP8 I now have the ability to open tables in code (not in the dataenvironment) and not have them blow the whole dataenvironment out, but I started re-coding a lot of my programs taking them out of the data environment and coding them directly to open in code. The problem is something keeps closing them. It seems to happen when the code goes to the main prg to retrieve a function that uses one of the tables. What is the easiest way to open tables from a starting point which you want to remain open until the form is closed, even if you go off to main to call functions, etc.? Where should I open my free tables at? How do I keep them open unless I issue the use on them to force a close?

____________________________________________
I tried that already and the weird thing is the program ran fine all the way through, but when I tried it again after removing the breakpoint, it lost the tables again, go figure...
``` Appreciate a normal day, it is always better than a bad one ```

Kev
Previous
Reply
Map
View

Click here to load this message in the networking platform