Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to sort a table by its value in the 'lookup' table
Message
From
11/09/2000 17:28:28
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
 
 
To
11/09/2000 15:39:17
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00415074
Message ID:
00415146
Views:
23
Andy,

You can index on LOOKUP(), but Mark's answer is much better.

Even so, if you aren't familiar with LOOKUP() it's a great function!


>Hi all
>
>I have a parent table with a field that hold the ID from a LOOKUP table so that in a browse window I can set the parent relation into the LOOKUP table and display what the ID represents.
>
>EXAMPLE: '0001' is 'EAST', '0002' is 'WEST', '0003' is 'NORTH' etc...
>
>In the browse I want to set the order by the column which gets its content from the LOOKUP table and order the parent table accordingly.
>
>Can anyone tell me what is the best way to do this.
>
>Thanks much in advance.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform