having trouble with this DlookUp expression it evaluates the first criteria but not the other two, any advice would be great.
App_Ref is a text box, PRB responsable is a string, AppCostAdmend is a string
=DLookUp("[Var_Amount]","Variations","[Var_AppRef] =[App_Ref]" And "[Var_Type] = 'AppCostAdmend'" And "[Var_Description] = 'PRB responsable'")
The AND
has to be part of the criteria too! It works like a SELECT with WHERE ... AND ...!
So:
=DLookUp("[Var_Amount]","Variations","[Var_AppRef] =[App_Ref] And [Var_Type] = 'AppCostAdmend' And [Var_Description] = 'PRB responsable'")
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.