I am using excel 2010 (and I have PowerQuery installed but not used in this workbook).
The source data is a table in another workbook.
The message I get is "Too few parameters. Expected 3." Why would it expect 3? How do I best resolve this, please?
The SQL is:
SELECT `Data$ExternalData_1`.`Cost Center`, [deleted rest of Select]
FROM `Data$ExternalData_1` `Data$ExternalData_1`
WHERE (`Data$ExternalData_1`.`UserID Combined` Like ?) AND (`Data$ExternalData_1`.`LA01#LA01_1` Like ?)
If from MS Query I try to return the data to Excel I get prompted for two parameters which is what I would expect and then I get the error message.
The connection Properties are set to get the parameters from specific cells in the workbook
Gavin
The source data is a table in another workbook.
The message I get is "Too few parameters. Expected 3." Why would it expect 3? How do I best resolve this, please?
The SQL is:
SELECT `Data$ExternalData_1`.`Cost Center`, [deleted rest of Select]
FROM `Data$ExternalData_1` `Data$ExternalData_1`
WHERE (`Data$ExternalData_1`.`UserID Combined` Like ?) AND (`Data$ExternalData_1`.`LA01#LA01_1` Like ?)
If from MS Query I try to return the data to Excel I get prompted for two parameters which is what I would expect and then I get the error message.
The connection Properties are set to get the parameters from specific cells in the workbook
Gavin