Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to add 2 column to a Combo Box ?
Message
De
13/01/2011 04:43:05
 
 
À
13/01/2011 04:33:29
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01495990
Message ID:
01496004
Vues:
39
>but I also need to get the value of column 1 of the combo box,
>sorry, both column data also need to get in the value.

Instead of using 2 separate columns, maybe you could use just 1, and load it with the combined data. The two values could be visually separated by just a space, or you could use delimiters e.g.
AAA1 AAA2
AAA1 / AAA2
[AAA1][AAA2]
etc.
You would need to parse out the two separate pieces of data from the value you read from the combo.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform