Fórum Detectar se algum DBEdit e similares foram alterados. #236044

03/06/2004

0

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).


Orlando Frade

Orlando Frade

Responder

Posts

03/06/2004

Fábio Valente

Colega, para ajudar, precisamos de informações:

Tipo, Banco de dados que usa, Componente de acesso e versão do Delphi... OK?

Sem mais,


Responder

Gostei + 0

03/06/2004

Orlando Frade

Banco de dados: SQL Server 2000
Delphi 7 com BDE


Responder

Gostei + 0

04/06/2004

Adilsond

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.


Responder

Gostei + 0

04/06/2004

Orlando Frade

Valeu!

[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]


Responder

Gostei + 0

Utilizamos cookies para fornecer uma melhor experiência para nossos usuários, consulte nossa política de privacidade.

Aceitar