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:56AM
    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:56AM
    you should not be calling prepare report before entering design mode.

Leave a Comment