Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
155
How to find out which formula is being calculated at the moment
posted

Hi, All.

 My problem is in WinCalcManager... Can I get a formula that is being calculated at the current time?

i have my implementation of IFormulaValueConverter class but i have only value and context in ConvertToUltraCalcValue method...

Depending on current formula i must return different UltraCalcValue from the same value parameter...

 

 

P.S. 

It will aslo be great if you may be tell me how to use in calculations fields from foreign key table, for example:

 Grid has these columns:

ID 

N_Count

N_Price

F_Rate 

 

And the F_Rate table has these columns

      ID     

      B_BooleanProperty

     N_Rate1

     N_Rate2 

 

So I need to use a formula like that:

 [N_Count] * [N_Price] * if ([F_Rate.B_BooleanProperty],[F_Rate.N_Rate1],[F_Rate.N_Rate2])