Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is the best way to do this?
Message
De
13/12/2000 19:05:02
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
What is the best way to do this?
Divers
Thread ID:
00453170
Message ID:
00453170
Vues:
71
Hi,

In a form there are several codified fields. A typical one is "Sex", which is stored in the table as "M" of "F", but has Male/Female option buttons. Similarly for marital status and others. The common thread is that none of these codifications are stored in related tables but are handled in code.

In FoxPro DOS I used screen variables to hold the radio button number or caption and filled them in a routine that ran after the scatter each time the recno changed. Data was codified back in the SaveIt routine before the GATHER.

I am new to VFP and wonder which is the most practical way to handle this type of simple situations that do not require a separate table. Should I use a form property to hold the option number? Should I do similar codifying/decodifying in similar routines as before? Should I use the Refresh method?

TIA,

Alex
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform