Having problem in rendering subreport existing in group footer - activereports

I have to fix a report designed by Acive report and I am fairly new to this. The problem occurs after converting this report from frame work 1 to 2 .Nothing is changed but sub report showing the total count does not show up.
I have a main report(RptReport.vb) having a group containg 6 subreports in its footer(GrpFooter).
It Has:
Report Header
Page header
GrpPageNumbering
Application's Icon
Report Name and....
GrpTotal
Detail
GrpTotalFooter
subLevel5
subLevel4
subLevel3
subLevel2
subLevel1
subLevelSubTotal
GrpPageNumberingFooter
PageFooter
ReportFooter
RptSubReport.vb is the subreport which is designed to be used in all of these 6 subreports.
It has
GrpTitle
It contains the deign of titles
grpHeader
grpAlternate
detail
grpfooterAlternate
It contains the field that should be shown up
grpFooter
It contains the total sum
GrpTitlefooter
For subLevel1 to subLevel5 grpfooterAlternate.visible = true and grpFooter.visible = false and
For subLevelSubTotal grpfooterAlternate.visible = False and and grpFooter.visible = true
This sets dynamically.
When i run the report with different criterira I get different results.
Some times grpFooter in sub report show up and sometimes it doesn't. I guess it depends on the amount of data showing up in the previous subreports.
It is good to mention that this report used to work correctly but after coversion from framework one to 2, This problem occurs.
I debugged the cases that total sub report show up and the cases that it does not . Both goes through the same events.
Any Body had an idea? I appretiate your help.
Thanks,

merryca,
I don't believe there is any dependency on FW on rendering of reports. That being said, is it possible that you can send us a project that will help us understand what is going on here. Trying to debug the issue based on your explanation is little bit difficult.
Please email support#grapecity.us.com and we will get you some help immediately.
thanks
raji
Rajnish Sinha,
GrapeCity, inc.

Related

How to rearrange report section at print time in ActiveReports?

I need to print the report footer before the group header/footer in ActiveReports 6. My code in report footer requires calculation from the group header/footer, so instead of moving all the controls to report header and do massive changes to code, I wonder if there's a quick way to just rearrange the page at print time.
I currently have:
rhMain (reportheader) for report cover page
gfVehicle (groupfooter) for detail on each vehicle, summary data is also calculated and stored here for each vehicle to be used in report summary
rfMain (reportfooter) for report summary
What I need to be arranged:
rhMain cover page
rfMain summary page
gfVehicle detail on each vehicle
What I have tried is move all the summary stuff to rhMain and during rfMain_format, I change the value of the controls in rhMain. This failed probably because rhMain is already rendered at this point.
Any other ideas?
There is no way to rearrange the sections during printing. The sections are designed to be rendered in a specific order and it cannot be changed. If you can provide some detailed information about your use case we may try suggesting some workaround. You can post your questions to ActiveReports support forums.
Can you please explain your scenario so we can try to help based on it. In general a report footer is nothing but a "group-footer" for the whole report (that is not bound, so would it help to replace the report-header/footer with an outside group header/footer.
Please include an image of what you're trying to do so we help further.
Issam Elbaytam
Grapecity.

Two different pages with distinct headers and footers in crystal reports

Right so I'm fairly new to this crystal reports thing and i've been stuck with this for days and can't get my head around it!
i have to produce a report which contains two pages - 1. purchase order and 2. receiving note
report 1. has its own
header
detail
footer
report 2 has distincts header, detail and footer.
the only way i managed to make this happen was to use subreports but they only work in 1 level deep so having the addresses in subreports themselves i can't use this!
Now ive tried creating new groups and all of that but i cant get it to show in different pages
right now i have
header1
header2
details1
details2
footer1
footer2
any ideas of what could i do please?
If you know that page 1 and 2 are always page 1 and 2 (and a page 1 doesn't spill over into the 2nd page pushing the original 2nd page out to the 3rd page) then you can use a formula to change the header based on the page number. Create a new formula and then you can do something like this:
Basic Syntax
If PageNumber = 1 Then
formula = "This is the page header for page 1"
ElseIf PageNumber = 2 Then
formula = "This is the page header for page 2"
End If
That said, I probably would probably stick to using sub reports and use the report headers in those reports to display your unique headings. Using the section expert you can make sure that there is a page break between the two sub reports.

Jaspersoft studio summary and subreport

I have a problem with jaspersoft studio, the problem is that I want to put the Subreport on the very last page in the document. So my idea was to put it in the summary, but then I got something strange...At the end of the PDF generation the subreport is on the last page, BUT the sub report is not complete there is stuff missing :/ It is just printing out the last values
Consider the following example:
I have 3 Parts, Part-1, Part-2, Part-3
After finishing the part-3 the subreport should be visualize with some of the information of part 1-3, but the subreport in the summary just contains information from the part 3
I use a XML Datasource
Can anyone help me, please?
You have to think of the context of the summary band and the sub report.
Is a variable from part 1 and part 2 being passed to the sub report? Is the same variable being passed from part 3? If so then it is being overwritten.
It really depends on the source of the information for the sub report, but the timing and context are likely the culprits here. You may need to create three sets of variables to contain what you want or just pass something into the sub report and let it gather the information for the three parts on its own.

In SSRS How not to split same column on 2 pages

I have 20 columns on report. We have provided user to exclude columns which don't want in report. So we made hidden.
Problem is when I get report then any last column on page gets appeared some part on 1 page & some part on another page.
Can you please help.
hi i hope i understand your question correctly. you want to avoid page breake for a tablix? mark the tablix go to properies and check the PageBreak Options for me tDisabled = True works to render all informations in one page.
if it is still not working check your pagelayout in report --> report properties
also i remember there was a InteractiveHeight Option somewhere that should be set to 0.

Display centered page header in a sub report which is placed in a multi column formatted section

More than a full day gone and i still can't find a solution...
I am creating a report which will be used to print out an exam paper(Crystal Reports with VS 2010). All exams have more than one related unit and all units have their own questions.
So i have created a sub report with the units and questions and added to the main reports' Details section which formatted as multicolumn. I have generated the report which seems like below.
http://www.avekon.com/tmp/examprintscreen0.png
Everything is fine until now. But when i want to add the unit titles (which are in the subreport),they are displayed as headers of each column. I want to display the unit title as centered on the top of each page, like below.
http://www.avekon.com/tmp/examprintscreen.png
Tried to add a header to main report and update it from subreport. NOT WORKED! Because the variables are not while the subreport is looping.
Tried to format other sections as multi column. NOT POSSIBLE as i see.
Tried to insert sub report into sub report. NOT POSSIBLE again.
and i have tried a lot of other logical and illogical ways but no success at the end. It should be easy but i can not find the right way. Please help, really important!
Remove the multi-column formatting from the main report and instead, format the sub-report as multi-column.
This should do the trick.