Using A Group Sum In The MasterData Calc
PixelPointer
Vaughan, Ontario
I am new to Fast Reports, but I am very used to Crystal Reports. I would like to be able to use the summary of my group to calculate each items percentage of the sum. Does anyone know how I can do that?
Comments
if engine.finalpass then mypct := <datafield."name"> \ array(index)
I grabbed a script from the FR site, and attempted to bastardize it for my own purposes, but I keep recieving an issue with variable types:
<Price> is the field that I am using to sum, and is the basis for my calculations.
the principal is the same except you won't need to use vartostr function just transfer value to the var you created
create a var mytot at start of code page, in blank begin end block initialize it to 1
then the memo can contain the expression [datafield/variable]