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.

How to update Value of TDBMaskEdit ?

Xailer English public forum
Responder
Milan Mehta
Mensajes: 133
Registrado: Dom Dic 27, 2009 9:54 am

How to update Value of TDBMaskEdit ?

Mensaje por Milan Mehta »

Sometime the situation arises when value of Field of underlying Dataset has changed, how can I enforce corresponding value change of the associated TDbMaskEdit ?
TIA
Milan.
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9250
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

How to update Value of TDBMaskEdit ?

Mensaje por ignacio »

Milan Mehta escribió el mar, 16 diciembre 2014 10:51Sometime the situation arises when value of Field of underlying Dataset has changed, how can I enforce corresponding value change of the associated TDbMaskEdit ?
TIA
Milan.
If the value is modified via its own Dataset, nothing should be done. If another dataset has changed the value, then I suggest you refrehs its dataset.
BTW, this forces an update of all linked datacontrols:
oDataset:Goto( oDataset:Recno() )
Regards,
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Responder