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.

TDBEdit current and old value

Xailer English public forum
Responder
Roberto
Mensajes: 177
Registrado: Mar Oct 16, 2007 11:53 pm

TDBEdit current and old value

Mensaje por Roberto »

Nice product!
How can I get the old value of an TDBEdit control inside of event OnExit
when the dataset is in Edit or insert mode?
For exemple,
oEdit is a TDBEdit control,
oEdit:OnSetFocus := { |oSender| myCheck(oSender) }
FUNCTION myCheck(oSender)
msgInfo(oSender:Value + " current value")
msgInfo(oSender:???????? + " old value")
RETURN .T.
Is it possible?
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9441
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

TDBEdit current and old value

Mensaje por ignacio »

Roberto,
Check all the proprties of oDataControl:oDataField.
Regards,
"roberto" <roberto@top2.com.br> escribió en el mensaje
news:4661ea60$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>
> Nice product!
>
> How can I get the old value of an TDBEdit control inside of event OnExit
> when the dataset is in Edit or insert mode?
> For exemple,
>
> oEdit is a TDBEdit control,
> oEdit:OnSetFocus := { |oSender| myCheck(oSender) }
>
> FUNCTION myCheck(oSender)
>
> msgInfo(oSender:Value + " current value")
> msgInfo(oSender:???????? + " old value")
>
> RETURN .T.
>
> Is it possible?
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Responder