Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying Array Elements in Grid's
Message
De
02/05/1997 04:41:02
 
 
À
30/04/1997 08:36:40
Scott Knight
Human Resources Development Canada
St. John's, Terre-Neuve, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Groupes d'usagers
Divers
Thread ID:
00029950
Message ID:
00030580
Vues:
60
>What I have is a Parent table named "client". One of the fields in client is status. The status field contains a code.
>
>1="Targeted"
>2="Non-Targeted"
>3="Adjusted"
>4="Adjusted with Interventions"
>
>I then have a grid on form which will display many clients. The probem is that the users do not want to see the 1,2,3,4 code in the grid column for each client's status. They need to see the corresponding english descriptions. I had handled this previously by creating alookup table and making parent(client) child(statdesc) relationship to get the english in the grid. This is a quick and easy solution for a small file with a couple of fields needing relationships. In reality I may have 40-50 fields spanned of several tables which equates to 40-50 additional open files.



Actually it means ONE open file, with an extra field.

FIELDNAME, FIELDVALUE, MEANING

Once you store the FIELDNAME in the table then you only need one lookup table instead of 50.

Does that make the problem more manageable?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform