Hi everybody,
I have a very complex Item Edit form with many pages and lots of code. If I invoke an item for editing and when doing nothing press 'Duplicate' button I get for some items a change in GetFldState for several fields and for some items there is no change. I'm trying to figure out what exactly is making GetFldState to report 2 in these fields. I did identify the fields, but I don't see any code changing them.
So, my question is - how can I set a breakpoint on the field value change for the particular form?
Thanks in advance.
----------
I found that the option button class has this code in its Init method:
if this.value = 0
this.value = 1
endif
Not sure who added such code and why, but this is the reason for strange behavior.
If it's not broken, fix it until it is.
My Blog