Joined: 28 May 2009
Online Status: Offline
Posts: 2
Topic: Passing variable value from Details to RF Posted: 26 Aug 2009 at 4:47am
Hi everybody,
I'm trying to create report for Top N clients where N is given by the parameter field. The detail section gives a revenue per client and in the report footer I'd like to have the sum revenue for the selected set of top N clients. I created a following formula to calculate the sum: Global NumberVar x3; if recordnumber <= ToNumber({?Number of Customers}) then x3 := x3 + {@Accounts Receivables PrevYear} else x3 := x3
The result in the RF gives me the sum of all records from Details but the value from the last record is added twice.
Does anybody know how I could handle this problem?
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