Adam
2007-09-13 00:52:01 UTC
If you override the modified method on a string field in a data source, it
seems that the modified method is called twice. Once when the field is
modified and somehow the "leave" method is triggering a second call to the
method. Has anyone had to deal with this? I came up with a really dirty way
of getting around it by checking the call stack and only executing my code in
certain situations, but there has to be a better way of handling this.
I also noticed that it's only called once if you manually type in a value,
but if I select a value from the lookup, that is when the method is called
twice. Any suggestions?
Thanks,
Adam
seems that the modified method is called twice. Once when the field is
modified and somehow the "leave" method is triggering a second call to the
method. Has anyone had to deal with this? I came up with a really dirty way
of getting around it by checking the call stack and only executing my code in
certain situations, but there has to be a better way of handling this.
I also noticed that it's only called once if you manually type in a value,
but if I select a value from the lookup, that is when the method is called
twice. Any suggestions?
Thanks,
Adam