문제

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