I am trying to add a total to a field which is classed as an integer.
the contents are 1
2
3
etc
i would like to calculate them to give total 6. From my understanding, as this is not a decimal field then i cannot calculate on it?
Is this correct, and if not, how would i go about adding a total field to the footer?
Thanks
0
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
i think i was having a "bad" moment when i started the report.
I tried the totalfields method and got :
The fields specied in the TOTALFIELDS property must be of type decimal. The *field* in *table* is not a decimal.
I then went on to declare a variable and use totalamount := totalamount + *field*
however :oops: i used the pre, rather than the onafter record trigger which gave me zeros!
i have now corrected this, but the totals which im received are running totals. I have the report grouped, but the total for each group, is the total so far. (I am using a groupfooter)
you need only:
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Youve been a great help
(although im on to my next problem now )