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