Hello,
I need to do a dlookup that brings back a value based on 2 different criteria
Me.txtAssignedTo2 = DLookup("[AssignedTo]", "[tbl_ActionRegister]", "[Task] = " & [txtTask] & " AND [EmpNoforGroup] = " & [txtNo2])
But this is not working. Does anyone know how I can write this so that is looks as Task = txttask AND EmpNoforGroup = txtNo2
Thank you in advance for your help,
Sherry
I need to do a dlookup that brings back a value based on 2 different criteria
Me.txtAssignedTo2 = DLookup("[AssignedTo]", "[tbl_ActionRegister]", "[Task] = " & [txtTask] & " AND [EmpNoforGroup] = " & [txtNo2])
But this is not working. Does anyone know how I can write this so that is looks as Task = txttask AND EmpNoforGroup = txtNo2
Thank you in advance for your help,
Sherry