J
Jim Bunton
the following query works fine to export a set of data into an excel
spreadsheet
SELECT * INTO [Excel 8.0;DATABASE=C:\temp\MySpreadSheet.xls].WorkSheet1
FROM RestaurantCustomerInformation;
BUT when put into code:-
objDB.Execute "SELECT * INTO [Excel
8.0;DATABASE=C:\temp\MySpreadSheet.xls].[WorkSheet1] FROM
[RestaurantCustomerInformation]"
ERROR > "Too few paramaters - expected 1"
objDB.name
objDB.Containers.Count
etc
work fine so the database object looks ok.
spreadsheet
SELECT * INTO [Excel 8.0;DATABASE=C:\temp\MySpreadSheet.xls].WorkSheet1
FROM RestaurantCustomerInformation;
BUT when put into code:-
objDB.Execute "SELECT * INTO [Excel
8.0;DATABASE=C:\temp\MySpreadSheet.xls].[WorkSheet1] FROM
[RestaurantCustomerInformation]"
ERROR > "Too few paramaters - expected 1"
objDB.name
objDB.Containers.Count
etc
work fine so the database object looks ok.