Skip to Content
Former Member
Dec 01, 2014 at 10:49 AM

Cross tab field display string not displayed properly 2nd page of the report



I am creating new crystal report, inserting some cross tab reports with multiple pages,

In my example, based on the SAMPLE ID as Row, some other details as columns.

right click Row field and format text and Click display string, and placing below formula

numbervar x=0;


ToText("M " & chrw(48 + x))

If i use cross Tab into my 1st page of the report displaying like M1, M2, M3. what my expectation is right.

the problem is like, If I place same cross tab into in my report page 2, It displaying like M4, M5, M6

I tried multiple ways to reset the Value of x, But It's working properly,

Even though, i placed into 3rd/4th page, It's displaying M4, M5, M6 only. I am Not understand where logic get's wrong..!

Please help me how to resolve.