I would like to output a report as a snapshot. I would like the file name to be given by the underlying form controls.
The problem that I'm having is when the DoCmd.OutputTo
is configured to include a file name the popup screen that allows you to select the path does not appear.
Is it possible to have that box appear let the user select the directory path but have the file name already configured?
Dim stDocName As String
Dim API As String
Dim WellName As String
API = Forms![frmmstrHeader]![API]
WellName = Forms![frmmstrHeader]![WellName]
stDocName = "rptHeader"
DoCmd.OutputTo acReport, stDocName, acFormatSNP, API & "_" & WellName & ".snp"
I don't want to hard code the path as each user may store the files in their own particular directory.
The problem that I'm having is when the DoCmd.OutputTo
is configured to include a file name the popup screen that allows you to select the path does not appear.
Is it possible to have that box appear let the user select the directory path but have the file name already configured?
Dim stDocName As String
Dim API As String
Dim WellName As String
API = Forms![frmmstrHeader]![API]
WellName = Forms![frmmstrHeader]![WellName]
stDocName = "rptHeader"
DoCmd.OutputTo acReport, stDocName, acFormatSNP, API & "_" & WellName & ".snp"
I don't want to hard code the path as each user may store the files in their own particular directory.