I have been struggling with this for a couple of hours now.
I have a value that is a dloopkup. the lookup works on when i am only trying to lookup based on one value, but i just cant get teh cdoe right to look at 2 values.
Here are my individual Dlookups.. Can someone change this to that the SumofQty_Due is dependant on Cboxoption AND CboxContract.
thanks in advance.
I have a value that is a dloopkup. the lookup works on when i am only trying to lookup based on one value, but i just cant get teh cdoe right to look at 2 values.
Here are my individual Dlookups.. Can someone change this to that the SumofQty_Due is dependant on Cboxoption AND CboxContract.
thanks in advance.
Code:
=Nz(dlookup("sumofqty_Due","Temp_Deliveries_Last_30","Option='" & [cboxoption] & "'"),"")
=Nz(dlookup("sumofqty_Due","Temp_Deliveries_Last_30","Contract= [cboxcontract]"),"")