OnReadFormulaVar Event |
[Top] [Chapter] [Previous] [Next] |
Declaration C# OnReadFormulaVar(Object Sender, string Name, IWPReportBand BandContext, int CountInGroup, out double Value);
Declaration OCX OnReadFormulaVar(ByVal Name As String, ByVal BandContext As WPTDynInt.IWPReportBand, ByVal CountInGroup As Long, Value As Double)
This event is use by the reporting engine (see interface IWPReport).
It is triggered to read the value of a variable which is used in a formula. Please don't mix up with group variables used by the reporting engine, those group variables contain the formulas which itself contain the variables which trigger this event. In fact any unknown name inside a formula will trigger the event OnReadFormulaVar.
The formula "TABLE.PRICE*TABLE.AMOUNT" will trigget the event twice, first to read "TABLE.PRICE" then to read "TABLE.AMOUNT".
Category |