You are reading help file online using chmlib.com
|
Rave Reports Visual Designer CalcOp component (TRaveCalcOp) - Report Tab |
Top Previous Next |
The "CalcOp" component is a non-visual component that allows you to take the values of two different sources (Src#CalcVar, Src#DataField or Src#Value) and perform an operation on them (defined by the Operator property).
The result can then be saved in a project parameter like CalcTotal (through the DestParam and DisplayFormat properties). You can also chain CalcOp components together for more complex expressions using the Src#CalcVar properties which can be set to other CalcOp or CalcTotal components. Lastly, each source value has a function that can be applied to it to do things such as rounding or other math functions and the result of the operation can also have a function applied to it through the ResultFunction property.
The CalcOp component can put it's result in a project parameter that will most likely be printed by a DataText component. It is very important to set the print order of your CalcOp components to print before any DataText components that will be printing out the same project parameter. Use the Project Tree and the Alignment Palette to change the print order of your components.
See Also: DestParam, DestPIVar, DevLocked, DisplayFormat, DisplayType, Locked, Name, Operator, Report Components, ResultFunction, Src#CalcVar, Src#DataField, Src#DataView, Src#Function, Src#Value, Tag, Visible
|
You are reading help file online using chmlib.com
|