This topic is locked

Change Color of Font if values in 2 Fields are not Equal

5/10/2009 2:01:38 PM
ASPRunnerPro General questions
C
Conrunner author

Hi. Using ASPRunner

I have a List page which looks at a Table and the Table contains 2 columns; NotesAudit and SAILAudit.

Each of these columns returns a COUNT of records.

For each record NotesAudit and SAILAudit however each form "half" of a specific task and if the counts of each are not equal then this means that the individual concerned has not completed the whole task - They may have only done half of it and I need to highlight this to chase them.

By default the font color in each field is black, but I would like the fonts in Notes Audit and SAIL Audit to display in Red and Bold - IF the numbers in these are not equal in some records. eg;

Individual, NotesAudit, SAILAudit

1 2 2 (Displayed in normal black as numbers in NotesAudit and SAILAudit equal)

2 3 2 (Displayed in BOLD RED as numbers in NotesAudit and SAILAudit NOT equal)

3 4 4 (Displayed in normal black as numbers in NotesAudit and SAILAudit equal)

Could anyone tell me how to do this?

Is it Custom Code?

Many Many Thanks

Con

J
Jane 5/11/2009

Hi,
you can check values for each record in the List page: After record processed event on the Events tab and change font color if needed.

Here is a sample:

http://www.asprunner.com/forums/index.php?showtopic=6412