Folder destination for reports
Hello Everyone!
I am trying to set default folder for gerenated reports (pdf, ...).
Anyone have idea how can I do it? (using programably runned reports, with using report.Show() )
I am trying to set default folder for gerenated reports (pdf, ...).
Anyone have idea how can I do it? (using programably runned reports, with using report.Show() )
Comments
I have a little idea. You can set folder destination for reports by this way:
but I am using method, which can show (generate) report,
after that user can choose: pdf, xls, ... and then save it...
I want just that user will not need to select folder to save file
(can change, but default he will be directed to his default folder).
I do not generate for example pdf files, I allow user to choose format he needs...
report. --> does not have any property to set default folder to save generated files [img]style_emoticons/<#EMO_DIR#>/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> report.Show() --> does not have version with parameter to set path folder[/img]
This is almost what I need [img]style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> I wounder, if there could be method like:[/img]report.InitialDirectory(...)...
(you use: dialog.InitialDirectory(...)).
So I think, if I would use default folder, I have to make something
like enum, which will contain all possibility of generated type files (pdf, html and so on)
and I will allow user to choose one of them... It is no problem at all [img]style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> Anyway -> thank you very much[/img][img]style_emoticons/<#EMO_DIR#>/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /> //by the way If there is any wish-list I would put my wish: method:[/img]report.InitialDirectory(string path).