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:37:09
Mike Yearwood
Toronto, Ontario, Canada
 
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:
01089697
Views:
13
>I am trying to open a table up a number of times dependant on how many records are in a table named vwmactionnot. The problem is it is not substituting the alias name for lncount. Any ideas waht I am doing wrong?

Accessing different parts of the same alias is just as much work. Even though there are different aliases, I suspect you will have to navigate to different parts per alias. It may even be faster to use only a single alias since there would be neither the code to open the alias nor the code to select a different alias.

>
>
>lncount = 1
>DO WHILE vwmactionnot.actionno = 1
>	USE vwmmembership IN 0 ALIAS &lncount again
>	SELECT lncount
>	SET ORDER TO username
>	BROWSE NOINIT nowait
>	lncount = lncount + 1
>	SKIP
>ENDDO
>
Previous
Reply
Map
View

Click here to load this message in the networking platform