OldValue property for each database field

Discuss all feature requests you have for a new Servoy versions here. Make sure to be clear about what you want, provide an example and indicate how important the feature is for you

OldValue property for each database field

Postby martinh » Mon Sep 10, 2007 10:31 am

I would like to see a property for each database field in Servoy that contains the value of this field in the database. This property should be readonly and should only be updated after a saveData() or a loadRecords()

In that case I can determine the difference between the original value in the database and the new value on the screen, for example to create a mutation record.

Using onDataChange method is not really an option, because that works on formlevel, depending on user interaction. A onDataChange can be triggered several times before data is send to the database.
Martin
------------------------------------------------
Servoy Developer
Version 5.2.10/5.2.13
Java version 1.6 update 31
Database SQL Server 2008 R2
martinh
 
Posts: 857
Joined: Wed May 09, 2007 5:34 pm
Location: Belgium

Postby pbakker » Mon Sep 10, 2007 11:13 am

Allrady possible, see my answer on your original post:

http://forum.servoy.com/viewtopic.php?t=9087&highlight=
pbakker
 
Posts: 2822
Joined: Wed Oct 01, 2003 8:12 pm
Location: Amsterdam, the Netherlands


Return to Discuss Feature Requests

Who is online

Users browsing this forum: No registered users and 12 guests