gwunta1907
Registered User.
- Local time
- Today, 12:45
- Joined
- Jan 11, 2007
- Messages
- 26
hi guys, I'm trying to do a DLookup specifying two criteria. The first criterion is a text field an the second is a Date field. Im sure I have the syntax wrong as the error Im getting is a Type mismatch error. Ive checked both tables where I am comparing data and they are both set to Date/Time datatypes. The current syntax I have is:
Me.exin = DLookup("USD_Equivalent", "tbl_rated", "Currency Like """ & Me.Currency_Name & """" And "Dated Like """ & Me.SailingDate & """")
Do I just replace the amphersands &'s surrounding Me.SailingDate or is there more to is than that?
Many thanks in advance
Me.exin = DLookup("USD_Equivalent", "tbl_rated", "Currency Like """ & Me.Currency_Name & """" And "Dated Like """ & Me.SailingDate & """")
Do I just replace the amphersands &'s surrounding Me.SailingDate or is there more to is than that?
Many thanks in advance