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?
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.
TDBEdit current and old value
- ignacio
- Site Admin
- Mensajes: 9441
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
TDBEdit current and old value
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?
>
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
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com