Hi Mike,
Can I use CalcManager without binding to controls. Here is what I want to do. I will assign formula to CalcManager like ( A + B ) * ( IF ( X > Y, X , Y )). Then I will pass the value of each A, B, X, Y dynamically from the code. Is it possible to achieve using CalcManager?
Thanks
Regards
Wynn
Hi Wynn,
Yes, what you need to do is used NamedReferences. You can add NamedReferences called "A", "B", "X", and "Y". To give a NamedReference a constant value, you set it's formula. For example, "5" is a perfectly valid formula.
Then you can create another NamedReference whose formula is "( [A] + [B] ) * ( IF ( [X] > [Y], [X] , [Y] ))"
I'm pretty sure there is a sample that does something like this in order to calculate the radius of a circle incluced with the NetAdvantage SDK under the UltraCalcManager samples.