On a subform i added an indicator control bound to a field from the source table. This gives the user a quick graphical overview of the capacity in use.
However, when the user moves to the next record on the parent form, the indicator control is not refreshed for all lines. Example: The first order shows 3 lines in the subform with capacity: 40, 52 and 74%. Then i move to the next order with 2 lines, lets say 20 and 25%. But Nav still shows 3 lines with 20, 25 and 74%.
Yes, The SunFormLink property is correctly populated. The problem only occurs with the indicator control. The other textbox controls in the list are correctly emptied.
The source expression is a decimal field from the source table.
BTW: When the user selects a line of the subform and move the slider to the right so the indicator scrolls from view and then back again, the last two bars disappear.
I haven’t come across this - it may be a problem with the indicator.
Two things to try:
remove the indicator and display the a normal decimal to see if it is the indicator.
You could call a CURRFORM.UPDATE or CURRFORM.UPDATECONTROLS in the subform when the record changes. i.e. create a function in the subform with the update call and then call this form the main form on record change (the ONAFTERGETRECORD or ONAFTERGETCURRRECORD trigger should do this.