procedure TDM.IBTAliqDT_CADASTSetText(Sender: TField;
const Text: string);
begin
if text = ' / / ' then
sender.AsString := ''
else
begin
try
Sender.AsString := text;
except
Showmessage('Data Inválida');
abort;
end;
end;
end;
ERRO SOLICITADOS AO EXECUTAR O SISTEMA (F9)
[Erro] DmGeral.pás(491): Undeclared Identifier: 'ShowMessage'
[Fatal Erro] SofCom.dpr(43): Could not compile usid unit
'DmGeral.pas'
OBS:
DmGeral = é o nome do meu DATAMODULE
SofCom = é o nome do meu PROJETO
PESSOAL SE POR GENTILEZA ALGUEM PUDER RESPODER ESSA DUVIDA
Obrigado
Atenciosamente,
Fernando Signorelli Spalenza - [Sopinha]
'' O Otimista Pode Errar, Mas o Pessimista Já Começa Errado''
(Juscelino Kubitschek)
Este erro ocorre porque o Dataodule não carrega a Unit que contém o
ShowMessage.
Para corrigir isto basta você declarar na cláusula Uses do DataModule
a Unit "Dialogs".
Abraços,
Leonardo Hees Drummond
Tectrilha Software
[]'s