Delphi and ReportBuildder upgrade problem with getReportTypeName
Hello,
I have had a project dumped in my lap that is out of date and needs
upgraded to the more recent versions of reportbuilder (was at 6) and
Delphi (was at 6). I have figured out much of the needed changes,
however I am stuck at the following line of code:
// Displayed title of report
property ReportTypeName: string read getReportTypeName;
That gives the following error:
[Error] RptFactoryCntl.pas(123): E2356 Property accessor must be an
instance field or method
This still does work under the old code. Can someone tell me what I
need to change to make it work under the new code.
thanks,
Dan
I have had a project dumped in my lap that is out of date and needs
upgraded to the more recent versions of reportbuilder (was at 6) and
Delphi (was at 6). I have figured out much of the needed changes,
however I am stuck at the following line of code:
// Displayed title of report
property ReportTypeName: string read getReportTypeName;
That gives the following error:
[Error] RptFactoryCntl.pas(123): E2356 Property accessor must be an
instance field or method
This still does work under the old code. Can someone tell me what I
need to change to make it work under the new code.
thanks,
Dan
This discussion has been closed.
Comments
Which version of ReportBuilder are you currently using? Is this property
defined in a descendent of a ReportBuilder class? Does the
getReportTypeName method exist? What does it do?
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com