Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Opening table with macro substitution for alias
Message
From
24/01/2006 08:31:01
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01089665
Message ID:
01089694
Views:
10
Similar to the other responses, I you can still use a meaningful name, and just add your number to the end of it. Useful for debugging purposes:
lncount = 1
DO WHILE vwmactionnot.actionno = 1
        cNewAliasName = "membership" + alltrim(str(lncount)) 

&& And below, I usually like to specify SHARED or 
&& EXCLUSIVE and not count on the EXCLUSIVE setting 
&& that you desire to be already set in the environment
 	USE vwmmembership IN 0 ALIAS &cNewAliasName again
	SELECT &cNewAliasName
	SET ORDER TO username
	BROWSE NOINIT nowait
	lncount = lncount + 1
	SKIP
ENDDO
Paul A. Busbey
Victoria Insurance
Previous
Reply
Map
View

Click here to load this message in the networking platform