I'm currently doing a customization on the PurchTable and added a new field to it. The main functionality that I'm trying to achieve is when I modify this field, the address will change based on its financial dimensions.
I managed to do this correctly, after I change a value on the new field, the address automatically changes. I've done that by updating the record and calling "purchTable_ds.research(true)".
The problem with this is that the field I'm changing is in the "Header" tab of the form, and the call to research the datasource makes the form jump to the "Lines" tab. How can I force the refresh of the form but at the same time, maintain it in the "Header" tab?
I've also tried refresh() and reread() but don't get the expected results. For example, when using "reread()", I change the field value and the address doesn't update. However, If I save the record and try to change the field again, the address starts refreshing and saving correctly.
Anyone can help?
Thank you.
João