Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Pass variable to a Chart Post Reply Post New Topic
Author Message
crystaldev
Newbie
Newbie


Joined: 14 Dec 2007
Online Status: Offline
Posts: 1
Quote crystaldev Replybullet Topic: Pass variable to a Chart
    Posted: 14 Dec 2007 at 9:49am
Hello.  I need help on how I can use the variable that was passed from a subreport into a main report and use it in a chart.  In the chart, the formula I used which includes a variable does not show up as an option to insert in a chart.  When I created another formula which includes the value I wanted to pass, the chart allowed me to use the variable but gave me a print time error.  I would appreciate your feedbacks.  Thanks. 
IP IP Logged
Lugh
Senior Member
Senior Member
Avatar

Joined: 14 Nov 2007
Online Status: Offline
Posts: 377
Quote Lugh Replybullet Posted: 14 Dec 2007 at 11:24am
It's likely you have an evaluation time issue.  Brian addresses this pretty extensively in his book.  You should look into WhileReadingRecords, WhilePrintingRecords, and EvaluateAfter in the help files.

As an additional bit of help, if at all possible, put the chart after the subreport on your report.  That way, the variable can be updated and used on the same pass.


IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.