سؤال

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