This topic is locked

How to change row color programmatically

10/4/2007 6:57:58 AM
ASPRunnerPro Tips and tricks
admin

ASPRunnerPro 5.2

For this purpose use After Record Processed event:
To change row background color use the following:

row("shadeclass")="style='background:blue'"


To change any cell background color use the following:

row("1FieldName_style")="style='background:red'"


ASPRunnerPro 6.0

For this purpose use After Record Processed event:
To change row background color use the following:

row("rowstyle")="style='background:blue'"


To change any cell background color use the following:

record("FieldName_style")="style='background:red'"

A
agruspe 2/9/2009

I have an EVENT table with the following structure:
Date

Time

Category

Subject

Description

Color
How can I apply cell/row color based on Color field value?
Thanks in advance!!

J
Jane 2/13/2009

Hi,
here is a sample:

row("rowstyle")="style='background:"& rs("Color") & "'"