Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using alias in lookup()
Message
From
12/11/2004 08:58:08
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Using alias in lookup()
Environment versions
Visual FoxPro:
VFP 7 SP1
Miscellaneous
Thread ID:
00960793
Message ID:
00960793
Views:
38
Hi All,

Here's some code someone else wrote.
LOOKUP( EmpFcur.Both, M.EmpNo, EmpFcur.EmpNo, 'EMP' )
It looks up a value in the alias EmpFcur. It appears to work, even if EmpFcur is not the currently selected alias. I assume it is an undocumented, and very handy, feature.

Any comments?
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Next
Reply
Map
View

Click here to load this message in the networking platform