Yes, those were set to shared variables. I didn't mention it explicitly.
As mentioned, there are two formulas:
formula2:if({STATUS.STATUS})='YES' and {ORDERS.SOLDDATE} in {?FromDate} to {?ToDate} then 1 else 0
formula1: if{ORDERS.SOLDDATE} in {?FromDate} to {?ToDate} then1
these two are at group level and grand total level.
Now, actual contents of page header has 4 formulasare
1. (Sum ({@formula2}, {SALESBRANCHES.BRANCHNAME})/Sum ({@formula1}, {SALESBRANCHES.BRANCHNAME}))*100
2. (Sum ({@formula2})/Sum ({@formula1}))*100
3. (Sum ({@formula2})/({@firstvalueofsubreport1}))*100
4. (({@valuefromsubreport2})/{@secondvalueofsubreport1})*100
Input parameters for the report are fromdate, todate and branchname.
It will just give the result of one selected branch itself. I need the counts of the selected branch and also for all branches.
So I used group for it.
The values I am getting through these formulas has no problem. I gave an overview of all these formulas just to give an idea of how my report looks.
My questions:
To know why is it getting so delayed when I want to see the next page or last page. I am worrying whether placement of subreports in report header and formulas in page header are affecting in anyway.
2. To my knowledge, in crystal reports when user clicks the next page , then entire report will get loaded again and goes to second page. Is there any way the entire report gets loaded at one go and when the user clicks the next page option, it wont take any time to see the next page.