johnnybwis
Technical User
Ok, I'm new at this but here is what I have. It's subform that is limited by a selection in the main form - this works OK but I need some more fields to fill in on the subform. I first tried in the rowsource of the
txtUnitcount = Dlookup("NumberPerUnit", "Products", "ProductID = 2"
I thought I would point it at the combo box later but I get an error #Name? I even tried making up a bogus table just to try a different table for the data.
Next I tried bringing four colums into the combobox and on exit of combobox
txtUnitcount = cboProductID.Column(1)
No good either
Any help would be appreciated
txtUnitcount = Dlookup("NumberPerUnit", "Products", "ProductID = 2"
I thought I would point it at the combo box later but I get an error #Name? I even tried making up a bogus table just to try a different table for the data.
Next I tried bringing four colums into the combobox and on exit of combobox
txtUnitcount = cboProductID.Column(1)
No good either
Any help would be appreciated