Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compact closes
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00125767
Message ID:
00125977
Views:
28
Or, same thing with

use in &lcStr

instead of select followed by use...

David, somehow I knew after reading your previous reply that you'd be writing a little function to do the job better :-)

Take care,
Joe

>Michelle,
>
>You can also write a udf that takes a list of table names and closes them
>
>
procedure CloseTables( pcTable1, pcTable2... pcTableN )
>local i, lcStr
>for i = 1 to pcount()
>   lcStr = "pcTable" + alltrim( str( i ) )
>   select &lcStr
>   use
>endfor
>return
Joseph C. Kempel
Systems Analyst/Programmer
JNC
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform