Remembering the folder where report was exported
Hi,
We have upgraded from RB 10 to RB 16.01 build 378
I have the same problem as described in 2013-05-03 post 'Remembering
the folder where report was exported'.
You have replied that problem was fixed in RB 14.08.
However in my release I found that it is still the issue.
We have upgraded from RB 10 to RB 16.01 build 378
I have the same problem as described in 2013-05-03 post 'Remembering
the folder where report was exported'.
You have replied that problem was fixed in RB 14.08.
However in my release I found that it is still the issue.
This discussion has been closed.
Comments
The initial response to the thread you mentioned is the solution to get
the behavior you are after with RB 14 or later. The patch mentioned
later in the thread was a fix for that solution and is included with RB 16.
I tested this with RB 16.02 and it functioned as expected.
Below is a copy of the original solution:
--
In RB 14, Report.DefaultFileDeviceType defaults to PDF and
Report.TextFileName defaults to ($MyDocuments)\Report.pdf
For the old behavior, set Report.TextFileName to empty string. You will
need to do this via code, either prior to calling Report.Print or in the
Report.Template.OnLoadEnd and OnNew events, if you are using report
templates.
ppReport1.TextFileName := '';
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com