Hi Guys,
I have Query in Ms Access 2003 which has parameters set up for Exchange Rates to convert Currency amounts to GBP. I anayse it in Excel 2007 via Ms Query and have a bit of a problem.
Query run fine in Access, when I link to Excel it comes with Error: "Too few parameter. Expected 2" When I remove parameters I can't put them back with Ms Query it says I have Syntax Error.
IIf([Currency 2]="EUR",[EUR Rate],IIf([Currency 2]="USD",[USD Rate],1))
Any idea how to make it work?
Cheers
Yuri
I have Query in Ms Access 2003 which has parameters set up for Exchange Rates to convert Currency amounts to GBP. I anayse it in Excel 2007 via Ms Query and have a bit of a problem.
Query run fine in Access, when I link to Excel it comes with Error: "Too few parameter. Expected 2" When I remove parameters I can't put them back with Ms Query it says I have Syntax Error.
IIf([Currency 2]="EUR",[EUR Rate],IIf([Currency 2]="USD",[USD Rate],1))
Any idea how to make it work?
Cheers
Yuri