PDA

View Full Version : ondata question


pydyp
04-21-2010, 01:08 AM
Hi all,

I have an edittext with a path on data.
If I type a new value in my edittext an ONDATA is send.
If I change the value in my dataset an ONDATA is send as well.
Does anyone knows how to know if the data has been changed via the dataset or via the edittext?

Thanks all

kmeixner
06-03-2010, 10:38 AM
Hi all,

I have an edittext with a path on data.
If I type a new value in my edittext an ONDATA is send.
If I change the value in my dataset an ONDATA is send as well.
Does anyone knows how to know if the data has been changed via the dataset or via the edittext?

Thanks all

Hi,

You could add an attribute to the edittext and set to true when a new value is entered into it. Then when the ondata event occurs you can see if the attribute is set to true, if it is then you will know that the edittext made the change, if it is false you will know that edittext did not make the change.

Kevin