I've got right click working in forms, I cobbled it together from various forums and posts.
Some things were wrong in those forums, and I've had to tweak things to work.
In its simplest form, right clicking on a control opens the associated, second form for the data in the calling control and shows the record.
A funny thing happens when I've got two forms open, and the second form is given another right click to call a function.
It throws this error, but the problem is, it doesn't say what function it's looking for.
The message is confusing, because there isn't an expression supporting the call, just the right click on the control. Is there a trick to see what's going on behind the scenes?
I've got to admit, that even after reading all the MS helps, documentation, and even reading about five blogs on command bars, I'm still not sure how it all works or is supposed to work. Each form has its own command bar, because the function calls have to be unique. I'm going back over everything to see how a particular command bar gets "attached" to a form. As part of the debugging though, it would be nice to see what Access is looking for when it throws the error.