Thanks for the help. This actually works with one problem.
Here is the code in the Macro.
Item
[Forms]![supplies]![invbalance] - This is the field I am filling
---------------------------
Expression
[Forms]![supplies]![qtyf].[Form]![Expr1] - Where Expr is the value I am passing from the subform to the main form.
------------------------------
Once the macro is triggered in the AfterUpdate the value passes and the form freeze not allowing me to advance records or even go into design mode until it gives me an "error encountered" message and closes.
Ok. I used the macro OnExit in a field and it works fine.
The only trouble is when there is a subform with no records the form is blank and there for I get an error since the field is not displayed.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.