Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to show 2 columns in drop down list
Message
From
10/11/2006 13:29:19
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01168759
Message ID:
01168811
Views:
17
>Follow up question:
>
>I created a two-field expression by selecting from the VFP table as following:
>
>
>select padr(alltrim(ID_FIELD),10,' ' + DESC_FIELD as MYNEWFLD
>
>
>But the drop-down-list ignores spaces used to pad the ID_FIELD.
>Instead the DLL only shows one space, therefore, the alignment of
>the two column does not work.
>
>What character can I use in place of the space (in the PADR()
>above) to make it work? Is there a CHR(n) that does not show but
>still would be recognized by ASP.NET?

Could you pad with 0 as this is a numeric ID? This is what I do.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform