質問

I am using following query trying to pull data from Access DB to my spreadsheet:

ID, MgmtVar.LoB, MgmtVar.1yr VaR FROMTest DB11_v2.accdb.MgmtVar MgmtVar WHERE COB = ? ANDEntity ID` = ?

I am getting Data Type Mismatch error for COB field which is Date data type (both in DB and in Excel)

Can anyone advise how to use parametrized query in Excel with Date data type as a parameter ?

Many Thanks

役に立ちましたか?

解決

Look at this post, it solves a similar problem. Try changing the type from Date to String.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top