P
Pam S via AccessMonster.com
I'm having a problem with a dlookup statement using 2 criteria. Both
statements work individually, but when I try to put both together using AND
the lookup fails. I'm sure it's the quotes, or somethng similar causing my
problem, but I've looked & worked on it until I can't see straight!
Please advise how I need to be writing this to get the correct information
returned:
DLookUp("[Rate]","[HourlyCont]","[ClientID]=' & [Forms]![frmTime Input Form]!
CLNT_NUMB &'" And [HourlyCont]![CONT_NUMB] =' & [CONT_NUMB] & ' ")
I really need to get past this problem to get finished with my project.
Thank you for your assistance~
statements work individually, but when I try to put both together using AND
the lookup fails. I'm sure it's the quotes, or somethng similar causing my
problem, but I've looked & worked on it until I can't see straight!
Please advise how I need to be writing this to get the correct information
returned:
DLookUp("[Rate]","[HourlyCont]","[ClientID]=' & [Forms]![frmTime Input Form]!
CLNT_NUMB &'" And [HourlyCont]![CONT_NUMB] =' & [CONT_NUMB] & ' ")
I really need to get past this problem to get finished with my project.
Thank you for your assistance~