CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> Archive -> GotoCode Archive

 select two fields from one listbox

Print topic Send  topic

Author Message
ben
Posted: 04/23/2002, 9:13 PM

anyone knows how to show two fields in one listbox?that means if i have two fields from the same table one is subjectid and one is subjectname.?
Carlos
Posted: 04/23/2002, 10:34 PM

It depends on the database that you are using. If you are using mySQL for instance you can use concat to concatenate the two fields.

e.g. select concat(subjectid, " - ", subjectname) from subject
ben
Posted: 04/24/2002, 1:39 AM

if i am using access 2000.then what will be the sql statement?

   


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

MS Access to Web

Convert MS Access to Web.
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.