CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Multifield Listbox????

Print topic Send  topic

Author Message
edlentz

Posts: 11
Posted: 05/20/2004, 4:21 AM

I need a listbox or dropdown box that when activated it would show a list from an inventory. I would want 2 - 3 fields of the record ie: part #, description, price. The example of Order Entry does almost all I want except this. Can someone comment?

Thanks

Ed Lentz
View profile  Send private message
buzz


Posts: 11
Posted: 05/20/2004, 8:37 AM

Use sql to concatenate the fields you want:

select field1, concat_ws('-',field2,field3) as textcolumn from table


In the properties box you should now be able to select field1 as the bound column and the field textcolumn as text.

Above is the concatenate syntax fro MySQL
View profile  Send private message
edlentz

Posts: 11
Posted: 05/21/2004, 3:25 AM

Thanks Buzz, but wouldn't that make for one long text line? I am looking to see some type of columnar setup, similar to a combo box. The user might not know the part number but might know something of the description or vice versa.
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.