Report Compilation error
Hi,
Another problem i'm experiencing since upgrading from 11 to 14 is that
the following gives me an error now. The error is
procedure ReportBeforePrint;
begin
Label13.Visible := (nmemo['REFNO'] = 'DRAFT');
end;
Error: ReportBeforePrint, Line 3: Expected '(' or '[', but found '['
instead.
Cheers
Alex
Another problem i'm experiencing since upgrading from 11 to 14 is that
the following gives me an error now. The error is
procedure ReportBeforePrint;
begin
Label13.Visible := (nmemo['REFNO'] = 'DRAFT');
end;
Error: ReportBeforePrint, Line 3: Expected '(' or '[', but found '['
instead.
Cheers
Alex
This discussion has been closed.
Comments
In my testing with RB 14.05 and the DBDEMOS database, the following code
(similar to yours) compiled and functions correctly in RAP.
procedure ReportBeforePrint;
begin
Label1.Visible := (customer['Company'] = 'Kauai Dive Shoppe');
end;
Are you certain nmemo is a valid datapipeline name?
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thanks for the reponse. I'm selecting and dragging the values from the
Code Toolbox where the datapipeline i need is displayed.
cheers
Alex
I did some more investigation and renamed the datapipeline that was
giving me the problem and it is working. Odd as the particular report
worked fine in version 11.
Thanks for all your help
Cheers
Alex