Problem showing report

edited 8:50AM in FastReport 4.0
When try to show report with this code:
(...)
frxADOQuery1.Active := false;
frxADOQuery1.ParamByName('ParamX').Value := ADOStoredProc1X.AsInteger;
frxADOQuery1.Active := true;
Reporti.frxReportMyReport.ShowReport();

error occurs ('missing path to frxCustomDB.pas').

But, after adding a path (C:\Program Files (x86)\FastReports\FastReport 4\Source) in Library - Win32 (Delphi Options), then other error occurs:
[DCC Error] MyProject.dpr(105): F2051 Unit frxADOComponents was compiled with a different version of frxCustomDB.TfrxCustomQuery

Solution?

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.