R
richaluft
trying to do a DLookup with a concatenated 'where', in which one of
elements is a Date(patepart, to be exact), while the other ([year])is
text.
I've tried all sorts of variations, but without luck:
Line is:
DLookup("[Fee]", "FeeSchedUCR", "[CPTCode] = " & rst![CPTCode] & And
[year] = " & DatePart("yyyy", rst![Date_From))
[Date_From] is a date data type, and [year] is text
Thanks for any help
Richard
elements is a Date(patepart, to be exact), while the other ([year])is
text.
I've tried all sorts of variations, but without luck:
Line is:
DLookup("[Fee]", "FeeSchedUCR", "[CPTCode] = " & rst![CPTCode] & And
[year] = " & DatePart("yyyy", rst![Date_From))
[Date_From] is a date data type, and [year] is text
Thanks for any help
Richard