specific report output to file path

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi,
I have a button that sends my report to a file, so far i've been able to
specify what I want the filename to be, using this vba:
Dim stDocName As String
stDocName = "Sales Contract " & Me!OrderID
DoCmd.OutputTo acReport, stDocName

Is there any way to specify which default path it should be saved to, or is
having the file browser open in My Documents a windows default...?
 
Where would I specify the absolute path? in the stDocName string?
I don't think that works..
 
Back
Top