Recalculate symbolics (OpenInsight Specific)
At 25 SEP 2000 06:45:25PM gene sorbo wrote:
O.K., I know this must have been discussed before but I cannot find a reference to the answer.
I have a form bound to a table. On the form, I have a drop down combo box that the user can either select values from, or enter data directly into. There is a symbolic field that I have placed on the form that is partially dependent on the value entered into the combo box. The value for the symbolic should be recalculated and redisplayed each time the value for the combo box is changed. The symbolic does not consistently recalculate, and I cannot figure out why.
How can I get the symbolic field to consistently recalculate based on a value entered or selected in a related field? Am I missing something? I could programmatically use Set_Property to update the value in the symbolic field each time a related field value changed, but this should not be necessary (?).
OI 3.61 on single user machine.
Any ideas appreciated.
Gene
At 25 SEP 2000 09:02PM Donald Bakke wrote:
Gene,
The only way I've ever been able to make this consistant is to do the following during the CHANGED event of the combo-box:
1. Get the DEFPROP (or INVALUE) property of the combo-box and then set the property back again. This updates @RECORD which your symbolic needs.
2. Then send a CALCULATE event to the control with the symbolic field.
dbakke@srpcs.com
At 25 SEP 2000 09:42PM Gene sorbo wrote:
Thanks Don, I'll give it a shot and let you know how I make out.
Gene
At 26 SEP 2000 01:00AM g sorbo wrote:
Worked great Don. Thanks for your help!
Gene