Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Sub reporting in CR9.Net

Posted on 2006-03-28
7
Medium Priority
?
195 Views
Last Modified: 2010-04-17
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.

conditional code:

IF (RecordNumber MOD 6) = 1 THEN
  FORMULA = TRUE
END IF

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.

Regards,
0
Comment
Question by:talhaamin
  • 3
  • 3
6 Comments
 
LVL 2

Expert Comment

by:posseke
ID: 16310214
Hi talhaamin,

Have you checked the link between main report and subreport?
If master and child keys are not linked, the subreport will fail to receive the conditional 'answer'.

Po$$e
0
 
LVL 2

Author Comment

by:talhaamin
ID: 16318247
Dear,

Links are working well with the sub-report and so data in the sub-report are coming accordingly..but this is exception,that one specific condition,I have already mentioned, doesn't work..
0
 
LVL 2

Accepted Solution

by:
posseke earned 300 total points
ID: 16318708
Maybe you should try and put the conditional code on the section where the subreport is put. (on the master report!)
I have tried the same conditional code as yours in a new report, used it as subreport and it failed too.

But when i put the conditional code in the master report at the section the subreport could be located, it worked fine!

Po$$e
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 2

Author Comment

by:talhaamin
ID: 16505849
Posseke solution didn't solve my problem so i want to close this question and wants to reclaim my points.
0
 
LVL 2

Expert Comment

by:posseke
ID: 16505883
Give talhaamin his points back if my suggestion didn't work, I have no problems with that!!

Greets,

Po$$e
0
 
LVL 2

Author Comment

by:talhaamin
ID: 16513336
Thanks for such a nice reply. On this answer i would like to gift you these points by accepting your answer
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Loops Section Overview

579 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question