Detectar se algum DBEdit e similares foram alterados.
Amigos,
tenho uma aplicação usando banco de dados e quero saber se existe alguma função que teste se os campos foram alterados antes de salvar (Table1.Post) e de cancelar (Table1.Cancel).
tenho uma aplicação usando banco de dados e quero saber se existe alguma função que teste se os campos foram alterados antes de salvar (Table1.Post) e de cancelar (Table1.Cancel).
Orlando Frade
Curtidas 0
Respostas
Fábio Valente
03/06/2004
Colega, para ajudar, precisamos de informações:
Tipo, Banco de dados que usa, Componente de acesso e versão do Delphi... OK?
Sem mais,
Tipo, Banco de dados que usa, Componente de acesso e versão do Delphi... OK?
Sem mais,
GOSTEI 0
Orlando Frade
03/06/2004
Banco de dados: SQL Server 2000
Delphi 7 com BDE
Delphi 7 com BDE
GOSTEI 0
Adilsond
03/06/2004
TDataSet.Modified
Indicates whether the current record is modified.
Description
Check Modified to determine if the current record is modified. If Modified is True, the current record is modified. If False, the current record is not modified.
Note
In general, an application need not check the status of Modified. Properties, events, and methods of TDataSet and its descendants that modify records generally check this status automatically and take appropriate actions based on its value.
GOSTEI 0
Orlando Frade
03/06/2004
Valeu!
Indicates whether the current record is modified.
Description
Check Modified to determine if the current record is modified. If Modified is True, the current record is modified. If False, the current record is not modified.
Note
In general, an application need not check the status of Modified. Properties, events, and methods of TDataSet and its descendants that modify records generally check this status automatically and take appropriate actions based on its value.[/quote:06465906d9]
[quote:06465906d9]TDataSet.Modified
Indicates whether the current record is modified.
Description
Check Modified to determine if the current record is modified. If Modified is True, the current record is modified. If False, the current record is not modified.
Note
In general, an application need not check the status of Modified. Properties, events, and methods of TDataSet and its descendants that modify records generally check this status automatically and take appropriate actions based on its value.[/quote:06465906d9]
GOSTEI 0