Hi all!
I have Main form in Form view with just ProductID, ProductName and ProductCode. But inside I have a subform with PartName and PartNumber which is in continuous view. In subform I have an txtBox which is populated with an DLookup function and grabs number of units on store.
This all works fine, but I'd like to have autopopulation of this field when I scroll the products with main form.
Now I have to click on subforms part to trigger it's event to do "dlookup".
I saw lots of code parts for something similar but as I'm not an expert and I'm learning by myself (thanks to Tek-Tips also!) it's rather tough to investigate, reprogram and implement it.
many thanks.
greets,
Marko 9A6NCM
I have Main form in Form view with just ProductID, ProductName and ProductCode. But inside I have a subform with PartName and PartNumber which is in continuous view. In subform I have an txtBox which is populated with an DLookup function and grabs number of units on store.
This all works fine, but I'd like to have autopopulation of this field when I scroll the products with main form.
Now I have to click on subforms part to trigger it's event to do "dlookup".
I saw lots of code parts for something similar but as I'm not an expert and I'm learning by myself (thanks to Tek-Tips also!) it's rather tough to investigate, reprogram and implement it.
many thanks.
greets,
Marko 9A6NCM