caryisms,
You just put, in double quotes the 3 arguments:
x = Dlookup("fieldname","table_or_Query_name","Criteria without WHERE"
ie:
x = Dlookup("CustName","tblCustomers","CustID = 100"
If you're using this in code, and have a variable for the criteria (or field and tablename, for that matter), do this:
x = Dlookup("CustName","tblCustomers","CustID = " & variable)
If custID is a string:
x = Dlookup("CustName","tblCustomers","CustID = '" & variable & "'"
You can put multiple criteria, ie
x = Dlookup("CustName","tblCustomers","CustCity = '" & variable & "' AND Gender = 'M'"
Remember, that 'x', or the return value, must be able to accept a NULL. So either make x a variable, or wrap dlookup in NZ(), ie:
dim x as string
x = nz(Dlookup("CustName","tblCustomers","CustCity = '" & variable & "' AND Gender = 'M'"

,"<Not Found>"
--Jim