Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Posted: 06 Feb 2008 at 11:29am
Add "WhilePrintingRecords;" as the first line. This will force it to be executed as the report runs.
I discuss this technique as well as other uses of the evaluation time keywords in Chapter 7 of my book Crystal Reports Encyclopedia.
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Posted: 06 Feb 2008 at 3:44pm
I'm not sure what to tell you. It's a pretty simple task that always works. What about double checking that the first formula is being called appropriately? Add another variable (a number) and increment it by 1 each time. Then see if the value increases as you expect.
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Posted: 07 Feb 2008 at 7:52am
Glad to hear you got it working! Great to hear that you like the book as well.
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
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