I have some dropdown lists in my form, the valrep of which is dependant on the data.
I am setting the $fieldvalrep in the postdeserialise trigger and the program is holding this, until it hits the reconnect to reset the modification status, when it wipes them all.
- Why is the $fieldvalrep reset?
- How can I program something in the model to ensure the valreps are set correctly for each occurrence on loading the data and/or creating a new occurrence? I obviously don't want to have to do a loop through all occurrences after loading to set the $fieldvalrep as this is a waste of time and if there's one thin UNiface isn't it's fast.
This is the third problem I've encountered with reconnect resetting values (for non-db fields such as totals) or states (setting fields to modified when they shouldn't be) and at least some of these behaviours are different in 10 than in version 9.
Anyone else found/solved similar issues?
Iain



