Creating DialogPage Error


I have a problem with loading reports (Fastreports version 3.06) which contain DialogPage.
If a report contains a DialogPage then occures that a program freezes.

If frxIzpis (tfrxReport component) is added on a normal form (tform component) or datamodule (tdatamodule component) there is NO problem with freezing. Component frxIzpis is added on TRODataSnapModule, which is descendant of TDataModule. TRODataSnapModule is a part of RemObjects software components.

frxIzpis:tfrxReport;

//loading fr3 fastreport file
frxIzpis.LoadFromFile(fr3File);

while debugging the codeline above, all stops at this point :
//freezing point
constructor TfrxDialogPage.Create(AOwner: TComponent);
begin

inherited; <
freezing point
FForm := TfrxDialogForm.Create(nil);
FForm.KeyPreview := True;
Font.Name := 'Tahoma';
Font.Size := 8;
BorderStyle := bsSizeable;
Position := poScreenCenter;
WindowState := wsNormal;
Color := clBtnFace;
end;


Any ideas why the program freezes while trying to create a TfrxDialogForm component?

Comments

  • edited 10:21PM
    We haven't tested FR with third-party components like RemObjects. We don't recommend to put TfrxReport component on any non-TForm descendants.
  • edited 10:21PM
    Is there any other possibilty connection and query components into report (integrated in fr3.file) without using dialogpage?
    We want report files to be as indenpendent as possible. Ideally we would like to change only connection to the database in runtime.

    Best regards (spasiba)
  • edited 10:21PM
    No, end-user queries/table should be on the dialog page.

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.