FR 251

Hallo

In a project, can I preview and print a report at desingtime. At runtime I receive a Error Message from EAccessViolation Type. This Error is since the Upgrade from 2.5 to 2.51.

I call the report as follow

F_BELEGE.FR_STBL_2.LoadFromFile('FR_STAMMBL_S2.FRF');
F_BELEGE.FR_STBL_2.ShowReport;

second question:

Why is the remark FastReport - unregistered in the top-right corner visible? FastReport is registered.

Is everybody their can help me?

I use DELPHI 7 Professional under WXP. The Database is ADS 7.0

regards
Hanspeter from Switzerland

PS. Sorry for the bad English.

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 4:26PM
    hi Hanspeter
    either you did not follow install instructions correctly
    or your project is refrencing old library paths
    regards ;)
  • edited January 2004
    Hi

    The installation ist correct, exact like in the instructions. I deleted all old Librarypaths and defined it new. The problem is the same.

    The error message com after the code as follow (after first line):
    procedure TPONY.Seite12Click(Sender: TObject);
    begin ?  
     ? F_BELEGE.FR_STBL_1.LoadFromFile('FR_STAMMBL_S1.frf');
     ? F_BELEGE.FR_STBL_1.ShowReport;
     ? If MessageDlg('Wollen Sie die zweite Seite Drucken?',
     ?  ? mtConfirmation, [mbNo, mbYes], 0) = mrYes then
     ?  ? Begin
     ?  ?  ? F_BELEGE.FR_STBL_2.LoadFromFile('FR_STAMMBL_S2.frf');
     ?  ?  ? F_BELEGE.FR_STBL_2.ShowReport;
     ?  ? End;
    end;
    

    To the begin of this project, it run correctly but since the upgrade is this problem. The test the installation with the older version 2.50 failed with the same problems.

    regards
    hanspeter from Switzerland
  • Hi

    The problem is no longer. The Form with the Report must be automatic createt.

    Thanks

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.