cleteh
04-25-2017, 12:59 PM
I am rebuilding a database as a .accdb file instead of .adp file so it will work in Access 2013 and I get a Property not found error on this line trying to transfer results from a view into an excel file. This code works in the .adp file.
'Export the open issues query results (created view in SQL server)
[CODE]DoCmd.OutputTo acOutputServerView, "dbo.Issue Open 3", "ExcelWorkbook(*.xlsx)", "I:\Groups\ccuser\Finance\Collection Control\Open Issues\OpenIssuesReport.xlsx", False, "", , acExportQualityPrint[CODE]
'Export the open issues query results (created view in SQL server)
[CODE]DoCmd.OutputTo acOutputServerView, "dbo.Issue Open 3", "ExcelWorkbook(*.xlsx)", "I:\Groups\ccuser\Finance\Collection Control\Open Issues\OpenIssuesReport.xlsx", False, "", , acExportQualityPrint[CODE]