report with password

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