JohnnyBlack
Technical User
In crystal reports 11, I need to calculate the change between records and use the result elsewhere, but the field does not list the summary function in the shortcut menu and if I create a formula I get the "this field cannot be summarised" error"
My dataset is a list of rates at various dates.
Fields include:
@vol_mid = ({volrates.vol_bid}+{volrates.vol_offer})/2
@Previous record = Previous({@vol_mid}) (this could be the source of the error since I cannot summarise this field).
@log_dailychange = log({@vol_mid}/{@Previous record})
@sd_change = stddev(@log_dailychange) ....error = "this field cannot be summarised"
Q1: how can I use summary functions on @previous record
Q2:how can I calculate the stddev for the daily change
I read on other threads that the whileprintrecords plus a variable is used to sum the variable but I have no idea how this would work for a stddev.
Is there an easier/any way to do this. I am not a programmer by nature so I have limited knowledge in areas where you do not see the functions in the formula editor.
Thank you for your assistance
My dataset is a list of rates at various dates.
Fields include:
@vol_mid = ({volrates.vol_bid}+{volrates.vol_offer})/2
@Previous record = Previous({@vol_mid}) (this could be the source of the error since I cannot summarise this field).
@log_dailychange = log({@vol_mid}/{@Previous record})
@sd_change = stddev(@log_dailychange) ....error = "this field cannot be summarised"
Q1: how can I use summary functions on @previous record
Q2:how can I calculate the stddev for the daily change
I read on other threads that the whileprintrecords plus a variable is used to sum the variable but I have no idea how this would work for a stddev.
Is there an easier/any way to do this. I am not a programmer by nature so I have limited knowledge in areas where you do not see the functions in the formula editor.
Thank you for your assistance