Using static methods in a report
Posted: Mon May 21, 2007 6:31 am
Hi:
I'm sure this is an easy question for the gurus out there...
How can I use static function to calculate a total within a report?
What I'm trying to do is use a static function I have in C# to do some pretty sofisticated calculations and then return the result to be printed in the report, in a detail band.
Also, the static function requires a few parameters to identify the record it should do the calculations for, which should be provided by the current record withint the report. How do I access this data to pass to my code?
Finally, where should I be doing this (maybe an event handler)?
TIA,
MartinH.
I'm sure this is an easy question for the gurus out there...
How can I use static function to calculate a total within a report?
What I'm trying to do is use a static function I have in C# to do some pretty sofisticated calculations and then return the result to be printed in the report, in a detail band.
Also, the static function requires a few parameters to identify the record it should do the calculations for, which should be provided by the current record withint the report. How do I access this data to pass to my code?
Finally, where should I be doing this (maybe an event handler)?
TIA,
MartinH.