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
De
11/09/2000 17:28:28
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
 
 
À
11/09/2000 15:39:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00415074
Message ID:
00415146
Vues:
24
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform