Calc Speed Advice
Hi,
I have a report with many calculations. Generally speaking, I set the value
to TppVariable components in their own OnCalc event. Would it be
speed-efficient to assign all variables in only one of the vars OnCalc
events. I ask because production of this particular report is very slow, so
need tips on possibly speeding it up.
RB6.03
Regards
Alex
I have a report with many calculations. Generally speaking, I set the value
to TppVariable components in their own OnCalc event. Would it be
speed-efficient to assign all variables in only one of the vars OnCalc
events. I ask because production of this particular report is very slow, so
need tips on possibly speeding it up.
RB6.03
Regards
Alex
This discussion has been closed.
Comments
Have not tested this. But in theory it would seem like fewer event-handlers
would be faster. I think it is worth trying.
It could be that the data query or queries are slow as well.
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
I can see how long it takes to create the query, it is quite quick, its when
it is creating the pages that it takes a while.
Regards
Alex
If you have RAP code that takes a long time to process, you could consider
creationg some RAP pass-through functions that performed the processing.
Then your RAP code can call the custom functions. This enables the RAP code
to be minimal. The pass-through functions written in Delph code will always
run faster than the same RAP code.
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com