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 -> PHP

 Static Listbox->select item from database

Print topic Send  topic

Author Message
Quasimidi
Posted: 12/02/2004, 3:09 AM

Good morning/afternoon to all!

I have a record which contains a listbox. The listbox option has static value and label. Now the selected listbox option value comes from a database. How can I assign that the choosen option should be selected? Or I must have to use a separate db table for the option labels and values?
Thanks and sorry for my english!
mrachow


Posts: 509
Posted: 12/02/2004, 5:34 AM

If your control is of type listbox and is tied to a database column it should show the value in the listbox automatically.

For showing purposes you should choose a label.
When having an editable grid a listbox is fine.

_________________
Best regards,
Michael
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.