R
Rob Wills
Hi,
I have created a "Parameterized Stored Procedure" in Access 2007 using the
following ADODB command
Conn.Execute "CREATE PROCEDURE uspBalance_Summary_Rec1 (@Owner Text(50)) AS
......"
I wish to export data from the database into a spreadsheet based on the
owner specified in the code.
I have tried Transferspreadsheet - that doesn't work and have been looking
at OutputTo
DoCmd.OutputTo acOutputStoredProcedure, "uspBalance_Summary_Rec1 ""Fred""",
acformatxls, "c:\Temp\Fred.xls"
This doesn't appear to work either...
Any ideas?
Thanks
Rob
I have created a "Parameterized Stored Procedure" in Access 2007 using the
following ADODB command
Conn.Execute "CREATE PROCEDURE uspBalance_Summary_Rec1 (@Owner Text(50)) AS
......"
I wish to export data from the database into a spreadsheet based on the
owner specified in the code.
I have tried Transferspreadsheet - that doesn't work and have been looking
at OutputTo
DoCmd.OutputTo acOutputStoredProcedure, "uspBalance_Summary_Rec1 ""Fred""",
acformatxls, "c:\Temp\Fred.xls"
This doesn't appear to work either...
Any ideas?
Thanks
Rob