report with password

edited 1:33AM 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 1:33AM
    Set TfrxReport.ReportOptions.HiddenPassword property
  • edited 1:33AM
    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 1:33AM
    See a test project in attach
    This code works OK:
        frxReport1.ReportOptions.HiddenPassword := 'test';
         frxReport1.LoadFromFile('test.fr3');
         frxReport1.ShowReport();
    
  • edited 1:33AM
    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 1:33AM
    I download zip file without any problem
    Try to download from here: http://rapidshare.com/files/425820232/test.zip
  • edited 1:33AM
    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.