Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
how to refresh data -bind control?
Let's say I have a data-bind control, then I change the a field of current loaded record by code, then I want to refresh the form to reflect the latest value, how can I do that without closeing and opening the form?
Comments
I am assuming that that you are saying that values in other fields are dependent on the value in the changed field.
Are you setting the "INVALUE' of the field you are changing by code.
Is this field referenced in the symbolic using squiggly braces {}, if not, then you may need to change or send a "CALCULATE" event to each of the fields that need to be 'recalculated' when you change the value.
new_ref<1> = new_value
new_ref<2> = another_new_value
...
etc then
write new_ref on table, id..
so now I want the form to display the latest data value
In form designer