you dont really need DLOOKUP, if you use a combo box to pick ITEM#,
fill in the description, using what gets picked.
The combo box would have 2 columns, 1 for the item# , col2 for descrip.
just grab it off the combo. NOTE: in VB, columns begin with zero. so:
Code:
sub cboItem_afterupdate()
txtDescription = cboItem.column(1) 'col 2 numerically.
end sub
This method prevents another read to the database, since you already have the answer in the combo.
But, the where clause must be outside the quotes and you must put brackets around multi word fields. (dont use spaces in fieldnames):
=DLookup("[Item Description]", "Item_Master", "[Item Number]"= "[Item Number]=" txtbox)