Export to PDF filename

edited 9:58AM in FastReport 3.0
Hi,

I want to be able to pre-set the filename when the user exports a report to PDF. I don't mind if the "Save as" dialog still appears but I want to pre-populate the name.

Is this possible?

Andy

Comments

  • edited 9:58AM
    Sorry,

    frxPDFExport1->Filename = "";

    ;)

    Andy
  • edited 9:58AM
    Except it doesn't work... ;)

    I'm having a conversation with myself. Anybody else who's listening please feel free to join in ;)

    I'm also getting an AV when I Load a report, save to pdf, exit, re load the report and use the following code,

    ((TfrxMemoView*)frxReport->FindObject("Memo4"))->Text = cmbProducts->Items->Strings[cmbProducts->ItemIndex];

    Any ideas anyone?

    Andy
  • edited March 2005
    You can't preset the filename. It will be prompted when you press OK in the dialog.

Leave a Comment