specific report output to file path

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...?
 
G

Guest

Where would I specify the absolute path? in the stDocName string?
I don't think that works..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top