CodeChargeMVP
Posts: 473
|
| Posted: 05/28/2010, 11:11 AM |
|
żIs it?
_________________
Best Regards
Entrepeneur | NT Consultant
|
 |
 |
laneoc
Posts: 154
|
| Posted: 05/29/2010, 2:38 PM |
|
Yes.
In your data source, add a field called "combo" which is a concatenation of the two fields.
In MySQL, this looks like: concat(fieldWithCode," - ",fieldWithDescription).
In your list box definition, have the field "combo" as your "Text Column" and the field "fieldWithCode" as your "Bound Column".
--LO
_________________
Lane |
 |
 |
andy
Posts: 183
|
| Posted: 05/30/2010, 3:44 AM |
|
Check out these postings also:
http://forums.codecharge.com/posts.php?post_id=110749
http://forums.codecharge.com/posts.php?post_id=101280
_________________
Andy
RAD tools for rich UI controls:
http://www.koolphptools.com |
 |
 |
CodeChargeMVP
Posts: 473
|
| Posted: 05/31/2010, 6:28 AM |
|
Quote andy:
Thank you very much for the links andy,it resolved the issue.
_________________
Best Regards
Entrepeneur | NT Consultant
|
 |
 |
CodeChargeMVP
Posts: 473
|
| Posted: 05/31/2010, 6:29 AM |
|
Quote laneoc:
Yes.
In your data source, add a field called "combo" which is a concatenation of the two fields.
In MySQL, this looks like: concat(fieldWithCode," - ",fieldWithDescription).
In your list box definition, have the field "combo" as your "Text Column" and the field "fieldWithCode" as your "Bound Column".
--LO
Thank you for your suggestion too.
_________________
Best Regards
Entrepeneur | NT Consultant
|
 |
 |
|