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

 Add text to retrieved value

Print topic Send  topic

Author Message
andash
Posted: 12/18/2007, 9:23 PM

Hi,
Can anyone shed some light as to how I can do the following in CCS3.2 & ASP.

In a report and a grid I want to add a text value 'VOL' to a field. If this
field is empty however I want to show nothing.

So if {record_value} displays as 15, I want to make this show 'VOL 15'. If the
record is empty then I don't want to display anything. I can add the VOL to the
HTML area but that still shows when there is no value for {record_value}

Sounds like a simple {record_value}="Voll" & {record_value}.value somewhere but
I can't work it out ( been away from this too long)

Thanks in advance
Andrew
---------------------------------------
Sent from YesSoftware forum
http://forums.codecharge.com/
DonB
Posted: 12/19/2007, 6:04 AM

Edit the query so it fetches the (computed) value of 'VOL ' concatenated
with the column value. When the column is NULL, the concatenation will
produce a NULL. When it's not null, it will produced the concatenated
result. You don't need any code at all.

--
DonB

http://ccswiki.gotodon.net


"andash" <andash@forum.codecharge> wrote in message
news:64768aae279e5e@news.codecharge.com...
> Hi,
> Can anyone shed some light as to how I can do the following in CCS3.2 &
ASP.
>
> In a report and a grid I want to add a text value 'VOL' to a field. If
this
> field is empty however I want to show nothing.
>
> So if {record_value} displays as 15, I want to make this show 'VOL 15'.
If the
> record is empty then I don't want to display anything. I can add the VOL
to the
> HTML area but that still shows when there is no value for {record_value}
>
> Sounds like a simple {record_value}="Voll" & {record_value}.value
somewhere but
> I can't work it out ( been away from this too long)
>
> Thanks in advance
> Andrew
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>


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.