Hi,
I dont know how to use these TPPDB calcs in the Dephi code.
I have a list of variables and I want to extract the mimimum value from
the list. I couldnt code it in the table becuase i needed to use global
variables in the report.
Help please
Thanks
Redmond
Comments
I'm a bit unclear about what exactly you need to do. Are you trying to use
a DBCalc component to determine the minimum value in a field to be used
later in the report? What about the DBCalc code do you not understand?
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I cant use a regular DB calc becuase Im trying to get a minimum value from
a list of valies created by a varibale.
I can see the DCMiminum operator in the calc tab, but I dont know how to
use it - or if its useful to me.
So bascially I want to put a varibale in the footer that extracts the
minimum value from the variable in the detail section.
Is this possible? If not - what are my options?
thanks
Redmond
dcMinimum is an enumerated type used to define what a DBCalc will calculate
on a report. This was added to RAP to allow the manipulation of DBCalc
components.
One option is to calculate the minimum value in your dataset using SQL code.
Another would be to create a passthru function to loop through your dataset
before the report is generated and determine the minimum value.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com