Página 1 de 1

TDBEdit current and old value

Publicado: Dom Jun 03, 2007 12:08 am
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?

TDBEdit current and old value

Publicado: Dom Jun 03, 2007 9:49 am
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?
>