Unfortunately there is no built in way to assign the default saving directory in ReportBuilder. If you take a look at the TppTemplate.ShowFileSaveDialog; procedure located in the ppTemplat.pas file you can see that the save dialog is local to that method. If this default directory is constant for your application, you could add a line of code to the RB source setting the lSaveDlg.InitialDir property.
Sorry, you may also be able to use the Delphi method SetCurrentDir to assign the current directory. Then when the save dialog executes, the default directory should be the directory you set as the current directory.
Comments
Unfortunately there is no built in way to assign the default saving
directory in ReportBuilder. If you take a look at the
TppTemplate.ShowFileSaveDialog; procedure located in the ppTemplat.pas file
you can see that the save dialog is local to that method. If this default
directory is constant for your application, you could add a line of code to
the RB source setting the lSaveDlg.InitialDir property.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Sorry, you may also be able to use the Delphi method SetCurrentDir to assign
the current directory. Then when the save dialog executes, the default
directory should be the directory you set as the current directory.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com