G
Guest
Im not sure why this dlookup is not working. When i add the AND to my
conditions i return an error 13-type mismatch.
intFeb = DLookup("[FEB]", "[qryLabourDataInquiry]", "[ChildCCtr] = '" &
strCCtr & "'" And "[ChildId] = 97")
The variable strCCtr is a string and intFeb is decalred as a double. The
ChildId field in the query is an long integer. They work independently of
each othger, but return the 13 error msg when used together.
Thanks
conditions i return an error 13-type mismatch.
intFeb = DLookup("[FEB]", "[qryLabourDataInquiry]", "[ChildCCtr] = '" &
strCCtr & "'" And "[ChildId] = 97")
The variable strCCtr is a string and intFeb is decalred as a double. The
ChildId field in the query is an long integer. They work independently of
each othger, but return the 13 error msg when used together.
Thanks