Página 1 de 1

How to update Value of TDBMaskEdit ?

Publicado: Mar Dic 16, 2014 10:51 am
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.

How to update Value of TDBMaskEdit ?

Publicado: Mar Dic 16, 2014 2:31 pm
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,