OnFormat event
I've a TppDBText on my report and I write code
in the OnFormat event:
procedure TValoriz.ppDBText3Format(Sender: TObject; DisplayFormat: String;
DataType: TppDataType; Value: Variant; var Text: String);
begin
if Value=0 then Text:='';
end;
but when I compile the project the compiler show
this message:
"Undeclared identifier: 'TppDataType' "
How can I do?
in the OnFormat event:
procedure TValoriz.ppDBText3Format(Sender: TObject; DisplayFormat: String;
DataType: TppDataType; Value: Variant; var Text: String);
begin
if Value=0 then Text:='';
end;
but when I compile the project the compiler show
this message:
"Undeclared identifier: 'TppDataType' "
How can I do?
This discussion has been closed.
Comments
when I read your message, my compiler show this message :
"Undeclared identifier: 'Raf' " :-) please use your real name, thankyou.
include 'ppTypes' in your uses clause.
regards,
Chris Ueberall;