Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo Format problem
Message
 
À
06/12/2001 23:14:17
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Divers
Thread ID:
00590977
Message ID:
00590978
Vues:
19
>Hi,
>
>I am using combo to populate it with data. As I can't had 02 columns of
>display in combo as easily as it can be done in VFP, I had to do the following
>code below
>
>lCode = MakeLength(lCode,20)
>lDisplay = lCode & SPACE(1) & lName
>
>The function Makelength is written by me to make the final return string to be total length of 20 to append with the variable lName hopping to get display
>as show below
>
>12334 user 1
>122233 user 2
>222223333 user 3
>
>But insteads, I get the display below from the combo box
>
>1233 user 1
>122233 user 2
>22222333 user 3
>
>I am loss, please advise me on the above issue why the formating
>is out for me in the combo box.

And what is the code behind MakeLength ?
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform