Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Print to File

edited April 2002 in General
When I set AllowPrintToFile to true and then set
the TextFileName to a default value.

If the user changes the path or file name I would like
to know where the file was placed. The TextFileName
property does not get changed.

How can I find the changed value?

Usind RB 6.03 & D5 pro

Thanks,
Paul
Blueberry Hill Services
www.bbhservices.com

Comments

  • edited April 2002
    You can log the save event to tell you the new location of the file. The
    logging can be done in the OnPrintDialogClose event of the report. You can
    retrieve the path of the new file from the TextFileName property of the
    print dialog which, in turn you can get at through PrintDialog property of
    the report, ie:

    ppReport1.PrintDialog.TextFileName.

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

This discussion has been closed.