The documentation says "Event that is produced before the navigation pointer
changes position in the TDataSet."
I am wondering if this event is similar to OnPreAppend, however. In other
words, I am wondering if this event is fired every time the record pointer
changes in the dataset (like the documentation states), or instead, if this
event actually fires when a TDataSet:Edit() method is invoked.
I like to datestamp appends, edits, and deletes. I can datestamp a newly
added record very well with OnPreAppend, however I would like to do the same
with edits and deletes. I see that there is a OnPreAppend() event and
OnPreDelete() event, so datestamping appends and deletes shouldn't be a
problem, but I don't see a OnPreEdit. How can I do the same with edits?
TIA,
Gary
In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
TDataSet:OnPreChange()
-
- Mensajes: 202
- Registrado: Dom Feb 17, 2008 3:35 am