report with password

edited 2:23PM in FastReport 4.0
Hello,

I have password protected report, I would like to pass the password runtime,
I don't want to show the password dialog to my users
Meanwhile, I would like to protect /encrypt the report.

Thank you

Comments

  • gpigpi
    edited 2:23PM
    Set TfrxReport.ReportOptions.HiddenPassword property
  • edited 2:23PM
    nash wrote: »
    Hello,

    I have password protected report, I would like to pass the password runtime,
    I don't want to show the password dialog to my users
    Meanwhile, I would like to protect /encrypt the report.

    Thank you

    Sorry didn't work, still I see password dialog box,
    BTW, I'm using frxGZip, frxCrypt, the only way to get rid of the dialog box it to modify frxCrypt (which I don't want to do this).

    Please help
    Thanks
  • gpigpi
    edited 2:23PM
    See a test project in attach
    This code works OK:
        frxReport1.ReportOptions.HiddenPassword := 'test';
         frxReport1.LoadFromFile('test.fr3');
         frxReport1.ShowReport();
    
  • edited 2:23PM
    gpi wrote: »
    See a test project in attach
    This code works OK:
        frxReport1.ReportOptions.HiddenPassword := 'test';
         frxReport1.LoadFromFile('test.fr3');
         frxReport1.ShowReport();
    


    Thank you, but nothing in the zip file or something wrong with it
  • gpigpi
    edited 2:23PM
    I download zip file without any problem
    Try to download from here: http://rapidshare.com/files/425820232/test.zip
  • edited 2:23PM
    gpi wrote: »
    I download zip file without any problem
    Try to download from here: http://rapidshare.com/files/425820232/test.zip

    Thank you,
    Worked >>

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.