By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,842 Members | 2,186 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,842 IT Pros & Developers. It's quick & easy.

Crystal Report 9.0 help on formula field

P: n/a
rjn
Hi

I have a main report in which I have inserted a sub report. I have a formula field on the main report and one on the sub report. I want the formula in the
subreport to be evaluated after the formula in the main report. The sub
report is called in the report header of the main report and the
formula fields are in the details section of the reports.

Main report looks something like this.

Report Header
-- Subreport.rpt
PageHeader
Details
@mainformula
reportfooter
Pagefooter

In the @mainformula I have a shared variable which I want to access in
the sub report formula. Since I'm calling the subreport before the
@mainformula is evaluated , I don't get the shared variable value in the
subreport. If the formula fields were in the same report then I could
have used EvaluateAfter function. Is it possible to make the subreport
formula to evaluate after the main report formula.

The intent here is :The main report is grouped on a field and whenever the group changes, that should start on a new page. The sub report will have the detail of No. of pages created per group. So until the main report is completed, subreport will have no clue of the no. of groups created and pages per group.

Regards

Rjn

Nov 20 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.