Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing ALL Tables and DataBases
Message
From
24/08/2001 17:48:39
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
 
 
To
24/08/2001 17:43:52
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00548975
Message ID:
00549024
Views:
19
>>
>>I am new to VFP but in other xbase languages we had something like this
>>
>>nArea = select(0) && Get the next available work area number
>>for i = 1 to (nArea -1) && -1 because we did not open anything in nArea
>> select(i) && select that workarea
>> use && Close the workarea
>>endfor
>>
>>Hope this helps you think of something you could use.
>
>Hello Cecil & Henry,
>
>That is not necessary in VFP. CLOSE DATABASE ALL closes all tables (including free tables) in the current session. If there are multiple sessions, you must iterate through them as Larry has suggested.

Thank you for your guidance Steve. Alsways appreciated.

- Ravi
- Ravi

True greatness consists in being great in little things.
- Charles Simmons
Previous
Reply
Map
View

Click here to load this message in the networking platform