I have a form with subform inside as below photo.
When entering product in subform, it calculates the amount to ItemAmt.
I want the ItemAmt auto-display in main form TotalAmt.
So I add some coding on subform's EXIT event as below photo.
When run, it shows the Run-time error -2147352567 (80020009).
When debug, it stop at the yellow line and show the error.
But if I press F8, it can step though the coding.
How to fix it?
Thanks.