CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 [RESOLVED - żIs it possible to show two values (code and description) on same list box? ]

Print topic Send  topic

Author Message
CodeChargeMVP

Posts: 473
Posted: 05/28/2010, 11:11 AM

żIs it?


_________________
Best Regards
Entrepeneur | NT Consultant
View profile  Send private message
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
View profile  Send private message
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
View profile  Send private message
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
View profile  Send private message
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
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright İ 2003-2004 by UltraApps.com  and YesSoftware, Inc.