Hold on.....
I just pasted my code from the forum into a test database and I am getting the same error. Let me find out what is wrong.
Again, the code I submitted was an edited version of a working application, I must have missed something. As Erika points out, it would seem to a missing or extra } or similar item. Stay tuned......
Edited......
RunningTotal is an element on sfrmChild, it does not exist on frmParent.
So this needs to be modified, by adding an invisible RunningTotal element to frmParent, or making the line in code a conditional line.......... Stay tuned......
Edited again.....
GOT IT !As noted above the code is referencing a missing element. At one time I was calling the function from both frmParent and frmChild. I forgot to remove the call from frmParent in my instructions.
THE FIX:
Do not call this function from frmParent. Only call from elements on sfrmChild.I have also modified my original posting to include that element in the set up instructions.
Thanks CapitalG for pointing out the problem.
Sorry about any confusion.