Toggle navigation
ReportBuilder Support Forums
Categories
Discussions
Activity
Sign In
Home
›
DADE
ReportBuilder 22.06 now available including Delphi 12.2 support!
New Blog Posts: Merging Reports -
Part 1
and
Part 2
Report SQL
rbuser
November 2008
edited November 2008
in
DADE
I am using Delphi7, ReportBuilder 10.09, and FibPlus. How would I pull
the SQL from the report?
Thanks,
Nick
Comments
nicocizik
November 2008
edited November 2008
Hi Nick,
If you just need the SQL text, you can access the SQL object using the
Report.Datapipeline.SQL property. This property is a TObject so it will
need to be type cast.
uses
daSQL;
begin
lsSQLText := TdaSQL(Report.DataPipeline.SQL).SQLText;
end;
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Best Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
This discussion has been closed.
Comments
If you just need the SQL text, you can access the SQL object using the
Report.Datapipeline.SQL property. This property is a TObject so it will
need to be type cast.
uses
daSQL;
begin
lsSQLText := TdaSQL(Report.DataPipeline.SQL).SQLText;
end;
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com