Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Close all, Except...
Message
From
01/01/2007 04:56:35
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Close all, Except...
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01181173
Message ID:
01181173
Views:
84
Hi all

I used to open all the database tables when the user start the application.

When ever I have to use with cursors I have to close it manually (use in..) in the procedure end, I cant close all the data because I need the tables open and sometimes I need few cursors open.

How can I tell vfp to close all without ...

The direction is with this way:

I have a table with column 'tables' - all of the my tables apeared in this column.

I have to tell vfp 'close all the tables/cursors, but dont close the tables that apear in my table and dont close all the files that I sent you by additional parameter.
For example: By calling the function 'closetemp' like this: closetemp(abc,dre,hsy,fju) I will close all tables/cursors except the tables that apear in my table and the tables/cursors abc,dre,hsy,fju.
(sometimes I can have 1,5,10 additional cursors or nothing).

Thank's
Thank you
Chaim
Next
Reply
Map
View

Click here to load this message in the networking platform