# OnDataChange method

**URL:** <https://forum.servoy.com/t/ondatachange-method/5694>\
**Category:** Classic Servoy\
**Created:** [April 5, 2006, 8:42pm UTC](https://forum.servoy.com/t/ondatachange-method/5694 "2006-04-05T20:42:36Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [March 27, 2007, 2:16pm UTC](https://forum.servoy.com/t/ondatachange-method/5694/6 "2007-03-27T14:16:37Z")

</div>

We don’t revert it to the previous value. If you want to do that then set the old value again in the dataprovider. and it will be reverted.  
We can’t do that because that would be quite annoying if you ask me. If i type something completely different then what it was before and i make one small mistake and suddenly everything is reverted then i am not very pleased.

---

_[View the full topic](https://forum.servoy.com/t/ondatachange-method/5694)._
