I have a form Form_Adj with a subform on it SubForm_Adj. When I have this form open and I type a numer in the sub form i want to use the following Dlook up to find the additonal info. It doesnt work when im in the Form but it does work in the sub form. Any Ideas?
Private Sub txtSKU_AfterUpdate()
Me.txtSKU_DESC = DLookup("[SKU_DESC]", "tbl_itemmaster", "[SKU]=Forms!SUBFORM_ADJ![txtSKU]")
Me.txtCOST = DLookup("[UNIT_PRICE]", "tbl_itemmaster", "[SKU]=Forms!SUBFORM_ADJ![txtSKU]")
End Sub