Dear Bjorn,

Your message really saved me!

Thanks to the hint on element.sum in getting the value hidden in the
ReportSumControl.

>From the hint, I further used element.sumControl('ReportContrlName'),
and assign the value to a ReportTextControl.

Cheers,

B H Tan

--- In development-axapta@yahoogroups.com, Bjorn Moller Pedersen
<[EMAIL PROTECTED]> wrote:
>
> Try to look at the method ReportRun.Sum() it takes a TableId and a
FieldId
> as parameter.
>
> sumAmount = element.Sum(TableNum(LedgerTable),
> FieldNum(LedgerTable,AmountMST));
>
> Regards,
> Bjorn Moller Pedersen
> Tadorna
>









SPONSORED LINKS
Computer part Programming languages Microsoft axapta
Support exchange


YAHOO! GROUPS LINKS




Reply via email to