>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