Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing tables
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00549537
Message ID:
00549549
Views:
15
This message has been marked as the solution to the initial question of the thread.
>I have a form where I open tables at runtime. The tables have a random name. The problem is: how can I close all open tables at a given time except one? I've tried calling the dataenvironment's opentables method but didn't work. Am I missing something?.
>
>Thanks in advance.
Dimension laList[1]
lnOpen = AUsed(laList)
For i=1 TO lnOpen
	If Upper(laList[1]) <> "MYALIAS"
		USE In laList[1]
	Endif
Endfor
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform