CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 row color

Print topic Send  topic

Author Message
Peter Lucas
Posted: 02/26/2003, 11:00 AM

Hi All,

Just wondering what I'm doing wrong. When I execute this code in a 'before
show' event in a grid, not the current, but the previous row get's a new
color.

if Users.Recordset.Fields("memo") <> "" then
Users.Naam.Value = "<font color=""red"">" & Users.Naam.Value &
"</font>"
end if

Anybody any idea's ?

Regards,

Peter Lucas

Kasper Pedersen
Posted: 02/27/2003, 7:08 AM

Try isnull( ... )

:-) Kasper


"Peter Lucas" <Peter.Lucas@Azlan.com> wrote in message
news:b3j2sd$vgu$1@news.codecharge.com...
> Hi All,
>
> Just wondering what I'm doing wrong. When I execute this code in a 'before
> show' event in a grid, not the current, but the previous row get's a new
> color.
>
> if Users.Recordset.Fields("memo") <> "" then
> Users.Naam.Value = "<font color=""red"">" & Users.Naam.Value &
> "</font>"
> end if
>
> Anybody any idea's ?
>
> Regards,
>
> Peter Lucas
>
>

DonB
Posted: 02/27/2003, 3:22 PM

Do it it the Before Show Row event.


DonB


"Peter Lucas" <Peter.Lucas@Azlan.com> wrote in message
news:b3j2sd$vgu$1@news.codecharge.com...
> Hi All,
>
> Just wondering what I'm doing wrong. When I execute this code in a 'before
> show' event in a grid, not the current, but the previous row get's a new
> color.
>
> if Users.Recordset.Fields("memo") <> "" then
> Users.Naam.Value = "<font color=""red"">" & Users.Naam.Value &
> "</font>"
> end if
>
> Anybody any idea's ?
>
> Regards,
>
> Peter Lucas
>
>

Peter Lucas
Posted: 02/27/2003, 11:00 PM

Hi All

Thanks for the response. In the end it turned out that it was a bug in the
CCS beta 3 software. I seems to be solved in the beta 3 update.

Regards,

Peter Lucas


"Peter Lucas" <Peter.Lucas@Azlan.com> wrote in message
news:b3j2sd$vgu$1@news.codecharge.com...
> Hi All,
>
> Just wondering what I'm doing wrong. When I execute this code in a 'before
> show' event in a grid, not the current, but the previous row get's a new
> color.
>
> if Users.Recordset.Fields("memo") <> "" then
> Users.Naam.Value = "<font color=""red"">" & Users.Naam.Value &
> "</font>"
> end if
>
> Anybody any idea's ?
>
> Regards,
>
> Peter Lucas
>
>


   


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.