I am having a problem with the Calcualte event after modifying the contents of an Edit Table. If I understand things correctly the Calculate only works from the window's Record property. So I wrote a sub to Refresh the Record property from the actual controls. I have verified that the controls have the correct data and the Record property has the right data but my formula will not calculate.
The formula is part of the same Edit Tableā¦
Thanks,
John
John,
Are you using INVALUE or DEFPROP to update the EditTable? If you are using the ARRAY property this might be your problem.
dbakke@srpcs.com
INVALUE
John,
I hate to ask this, but you *are* passing in the correct column number in the Send_Event call right?
dbakke@srpcs.com
Don,
Thanks for asking. I was issuing a call send_event(ctrl,"CALCULATE") where ctrl is the Edit Table. What is the syntax for the specific control?
John
Thanks Don,
Just figured it out. call send_event(ctrl,"CALCULATE",column)
works like a charm!
John