Skip to Content
author's profile photo Former Member
Former Member

Conditionally Format Cross Tab Field

I have a cross tab report that I want to conditionally format text color if row# 5 meets my criteria. Below is the formula I am trying in the Format Field editor.

if {@Type} = "8=POH"

then crred

(I have also tried adding the else statement.....else crblack)

I get no results when I try this. I can change the text color via the formatting toolbar, but this changes all data in all 6-8 rows.

Is there another method to conditionally format the row, or is it just not possible?


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jul 23, 2008 at 06:00 PM

    I just learned this yesterday, so here goes.

    In the suppresion formula for the column total, enter the following expression:

    numberVar x:=0;

    This is going to reset the row count for each column

    Then in the suppression formula for the summary field, enter the following expression:

    numberVar x := x + 1;

    And in the font color conditional formual, use the following expression:

    numberVar X;
    if (X = 5) and ({@Type} = "8=POH") then crRed else crNoColor;

    This should give you a red 5th row if the type condition is met


    Who cautions that he does not know what the {@Type} formula contains and that it might need to be modified to be used in this context...

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.