I have a right-click popup menu I want to "service" with a function that I'd like to have defined in the code-sheet of a "continuous" subform, " DonationSubform". Access complains that it can't find the function UNLESS I place it in the code sheet of the parent form. That would be okay except I can't seem to find out how to pass the function the record ID of the record upon which the right-click occurred. The popup "Action" expression is "=MoveDon()" and I've tried "=MoveDon([FamDonID]). The latter being the record ID of interest to the purpose of the function. With the function being defined in the parent, I've tried to reference "FamDonID" using Forms!DonationSubform.Form!FamDonID, but Access complains that it can't find the subform at the time the subform and all of its recordsource is being displayed.
Any of this make sense?
The whole point is to gain access to the current value of "FamDonID" at the time the popup menu is triggered.
BTW, while created in A2000 or A2003, popup menus are supported in later versions of Access, but one can't create them beginning with ribbons in A2007.