How to change the position of Crystal report dynamically? - crystal-reports

I am working with crystal report which has two sub reports. I need to change the positions of theses sub reports dynamically.
Could any help me in this portion?

Place your 2 subreports in separate subsections (i.e. 1 subreport in GH1a and the other in GH1b)
Go into your Section Expert and enter an appropriate formula to suppress each subreport based on your condition.

Related

Pass values from sub-report to main-report using crystal report

I'm using crystal report xi. I have made a report with two sub report. The sub reports have summary fields named sub total. And i want to make make grand total. How it is possible?
Sample Example Image
I may not be able to answer specifically to your requirement: But following are links that show you how to achieve it. You will have to work your way. The idea is to use Shared variables between main report and subreports.
Hope it helps you.
See links below:
Link 1
http://scn.sap.com/people/prabhat.kumar2/blog/2011/11/06/passing-values-between-reports-in-crystal-reports-2008
http://scn.sap.com/people/ashish.bamzai/blog/2011/11/23/passing-values-between-reports-crystal-reports-2008
http://scn.sap.com/people/brian.bischof/blog/2010/09/29/troubleshooting-crystal-reports-shared-variables
Passing Subreport Value to Main Report

Add multiple sub-report in single detail section without overlap

Avoid sub report overlap
In crystal report have three sub-report one by one so it can overlap one another.
I don't need each sub report in different section.
I need each sub report in single detail section without overlap.
Example:
-------------------Detail section--------------------------------
-------------Sub Report One--------------------
-------------Sub Report Two--------------------
-------------------End of detail section---------------
To my extent I know it is not possible...
Though you are not intrested but taking sub reports in individual sections is suggested.

How can I display multiple subreports based on an if-then-else in crystal reports?

We have a report which does not contain enough data for us in the original tables. Because there is not a way to properly link all tables needed, we need to use two subreports to display the proper information. Is there a way to display subreport A if the conditions are met and display subreport B if the new conditions are met?
Create two report sections, one for subreport A and one for subreport B. Suppress the section with subreport A with the formula {GLAS.Source} <> "PO Receipt" and similarly suppress the section with subreport B with the formula {GLAS.Source} <> "Ap Entry".

Crystal Reports: How can a not on-demand subreport be displayed as a link in the main report

I am struggling to fix a subreport where data is obtained at the point when the main report is generated and the subreport to be displayed as a link, similar to an on demand subreport.
The issue that I have if I use a non on demand subreport is that it cannot be represented as a link, it is displayed inside the main report. As well as an on demand report is not suitable to my case because the data is retrieved when the subreport is opened.
I would appreciate any help.
Thanks in advance!
You have to take the another header for subreport and also drilldown the Header and on the Suppress formula write the formula Drilldowngrouplevel = 0 and for the Sub Report take the another detail section and on the supress formula write the formula Drilldowngrouplevel = 0.
This will definitely work, because I tried it.
Can you add a group level to the subreport and add a single line into the group header?
This will mean you will have to drill down twice to get the data though.

how to pass formula which is in group of main report to sub report (crystal report)

This question about crystal report.
I have crystal report, which has a formula in Group Section. I want to show all the generated group names in bottom of the crystal report.
So I have insert subreport to Main report footer. Then created a formula and link it to main report
formula.
But When running, in sub report, only show last generated group name only.
How to print all the generated group names in bottom of the report.
Thank you.
If I understand what you intend to do, you have a few options:
add a Cross-tab to the Report-Footer section - this will summarized the report's data without a second trip to the database
add a sub-report to the Report-Footer section - you will have more control of the formatting, but it will require a second trip to the database
create a formula that executes at print time (WhileReadingRecords) to store the group names in an array (note: arrays hold a maximum of 1000 entries), then create a second formula (also print time), that joins the array, adding it to the Report-Footer section.