Why do you have code open form that is already open and has focus? You do this for both [Ave volume per month] and [Future Inventory].
This seems to work:
Code:
DoCmd.OpenForm "Ave volume per month"
DoCmd.GoToRecord , , acLast
lastpart = Forms![Ave Volume per month]![Part#]
Volume = Forms![Ave Volume per month]![Volumepermonth]
Counter = 1
Do
DoCmd.OpenForm "Inventory Base1"
DoCmd.GoToRecord , , acGoTo, Counter
Part1 = Forms![Inventory Base1]![Part#]
Forms![Inventory Base1]![Part#].SetFocus
DoCmd.FindRecord Part1
Forms![Inventory Base1]![Calculated Average Volume] = Volume
Counter = Counter + 1
Loop Until Part1 = lastpart