CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Combine Text Field Values

Print topic Send  topic

Author Message
ekendricks

Posts: 34
Posted: 06/17/2004, 1:32 PM

In my customer table, I have the customer name seperated into three fields, (LName - FName - MI) In a non-edit grid or label I would like to show the customer name as one value. I'm familiar with the string to do this (SELECT Patient.PatientID, Patient.[FName] & " " & [MI]&" "&[LName] AS Patient
FROM Patient;) My question is, where in CC do I alter the sql stmt to accomplish this. I have tried Properties > Data Source to no avail. I cannot edit the sql in the Query Builder.

Any suggestion would be appreciated.

Thanks

ELK
View profile  Send private message
E43509

Posts: 283
Posted: 06/17/2004, 2:05 PM

Lots of ways to do this. You can change the datasource to sql and write you statement. Add a new field to your form and change the control source to database expression, add a before show code to concatenate the data, ...
View profile  Send private message
andrewi

Posts: 162
Posted: 06/19/2004, 4:24 AM

Or you can leave the datasource as it is,
Change the customer name label Control Source Type to Database Expression, and put your expression [FName] & " " & [MI]&" "&[LName] straight into the Control Source property.
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.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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