Delphi 如何为firedac宏赋值并让fastreport.loadfromfile识别它

Delphi 如何为firedac宏赋值并让fastreport.loadfromfile识别它,delphi,macros,firedac,fastreport,Delphi,Macros,Firedac,Fastreport,如何为firedac宏赋值并让fastreport.loadfromfile识别它 我有一个这种格式的sql select * from tbl1 where &condition order by id 当我跑的时候 Report.LoadFormFile (file1.fr3); Report.PrepareReport (False); 如果您正在谈论如何过滤FastReports打印出来的数据,那么您可以在启动报告之前在firedac中设置SQL。您要筛选数据库,而不是Fas

如何为firedac宏赋值并让fastreport.loadfromfile识别它

我有一个这种格式的sql

select * from tbl1 where &condition order by id
当我跑的时候

Report.LoadFormFile (file1.fr3);
Report.PrepareReport (False);

如果您正在谈论如何过滤FastReports打印出来的数据,那么您可以在启动报告之前在firedac中设置SQL。您要筛选数据库,而不是FastReport。是。这是真的。但我必须从至少10份个人报告中制作一份pdf。当我上传单个报告并使用report.loadfromfile('rptfile.fr3')准备它们时;报告准备报告(假);这些查询不存在,或者我不知道如何关联它们