This problem belongs to unusual bevavior of sub reporting in CR9.Net. Let me explain it more clearly. I created a report say it "Report1.rpt". I inserted group into it and added conditional code in the event of "New Page After" at group header.
IF (RecordNumber MOD 6) = 1 THEN
FORMULA = TRUE
This condition works fine when I run this report as a single independent report. Problem arises when I add this report as sub-report in an other report. In this case, condition doesn't work..ie. It dosen't jump to a new page according to this condition.
Please help me find soultion for this.