G
Guest
Hi,
I use the code:
DoCmd.OutputTo acReport, "Report Name", "SnapshotFormat(*.snp)",
Me!txtSNPdirectory & "\Report Name" & ".snp", True, ""
to export reports in SNP format.
txtSNPdirectory is a textbox that reads a field value from a table. When the
value is C: or H:\SNP\ or something similar the file is stored to the
relevant location but when the value is CurrentProject.Path it doesn’t work
to store the file in the folder where the application resides as I should
expect.
Can you see where the mistake is?
Thanks
GL
I use the code:
DoCmd.OutputTo acReport, "Report Name", "SnapshotFormat(*.snp)",
Me!txtSNPdirectory & "\Report Name" & ".snp", True, ""
to export reports in SNP format.
txtSNPdirectory is a textbox that reads a field value from a table. When the
value is C: or H:\SNP\ or something similar the file is stored to the
relevant location but when the value is CurrentProject.Path it doesn’t work
to store the file in the folder where the application resides as I should
expect.
Can you see where the mistake is?
Thanks
GL