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