TallMan
09-03-2010, 11:28 AM
Good Afternoon,
Has anyone ever tried to transfer the recordset from a VBA inscripted SQL statement to an Access report?
Currently I have the query results transfer into an excel spreadsheet. However I would like to "dress" this up a bit and have it transfer/output to a report.
'Send the information to excel on the associates C:drive
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, "Main_PIP_TBL_TMP", "C:\Process_PIP.xls", True
'Open Workbook
PIP_Excel.workbooks.Open "C:\Process_PIP.xls"
PIP_Excel.Visible = True
Has anyone ever tried to transfer the recordset from a VBA inscripted SQL statement to an Access report?
Currently I have the query results transfer into an excel spreadsheet. However I would like to "dress" this up a bit and have it transfer/output to a report.
'Send the information to excel on the associates C:drive
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, "Main_PIP_TBL_TMP", "C:\Process_PIP.xls", True
'Open Workbook
PIP_Excel.workbooks.Open "C:\Process_PIP.xls"
PIP_Excel.Visible = True