DesignReport Run Time

edited April 2008 in FastReport 4.0
Hi

i have this code lines:
    frxrServicos.LoadFromFile(ExtractFilePath(Application.exename)+'reports\certificados.fr3');
    frxrServicos.Variables['top'] := 6;
    frxrServicos.Variables['tecnico'] := quotedstr(mtServicosluTecnico.asstring);
    frxrServicos.PrepareReport(true);
    frxrServicos.DesignReport()

I want to show the design application of the report to change it.

But nothing happens (i have FR enterprise).


Any idea.... what is wrong?

Marco Branco

Comments

  • edited 6:38PM
    Solved.

    Thank's anyway


    only had to change the last line of code to:
    frxrServicos.DesignReport(true)
    

    Hi

    i have this code lines:
        frxrServicos.LoadFromFile(ExtractFilePath(Application.exename)+'reports\certificados.fr3');
        frxrServicos.Variables['top'] := 6;
        frxrServicos.Variables['tecnico'] := quotedstr(mtServicosluTecnico.asstring);
        frxrServicos.PrepareReport(true);
        frxrServicos.DesignReport()
    

    I want to show the design application of the report to change it.

    But nothing happens (i have FR enterprise).


    Any idea.... what is wrong?

    Marco Branco
  • gordkgordk St.Catherines On. Canada.
    edited 6:38PM
    you should not be calling prepare report before entering design mode.

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.