How to divide using the function Previous()???
Posted: Wed Jul 22, 2009 12:19 pm
I have two records in my Dataset that are printed in a Databand and I need to divide the last by the first. I am using the bellow expression but there are ocurred errors.
What the format or sintax correct to divide it? I need to divide with two decimal places.
I am using:
{Div(dsMonthAvg.January, Previous(dsMonthAvg, "January"))}
The error thar occured:
c:\Documents and Settings\jair\Configurações locais\Temp\owx9bwz5.0.cs(495,77) : error CS1502: Melhor método sobrecarregado compatível com 'Stimulsoft.Report.Dictionary.StiFunctionsMath.Div(long, long)' tem alguns argumentos inválidos c:\Documents and Settings\jair\Configurações locais\Temp\owx9bwz5.0.cs(495,161) : error CS1503: Argumento '2': não pode converter de 'object' em 'long'.
Thanks for the help.
Jair RC