Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to sort a table by its value in the 'lookup' table
Message
 
 
À
11/09/2000 17:28:28
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00415074
Message ID:
00415154
Vues:
15
Not to mention the last sentence in the VFP Help for the LOOKUP() function is:

This function can't be optimized with Rushmore.

>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.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform