I have a form that enables viewing of Attendee info (name, department, etc.) with Project Info displayed in a sub-form. The datasource for both is a query (qryAttendeeProjects). I can edit the Attendee records, but not the Project records.
So, I have created a 'Edit' button in the sub-form that opens a pop-up form to edit the Project info in the Projects table (tblNewProjects). I have created a macro in the 'On Current' property of the pop-up form to match the Project IDs (Proj_ID)of the pop-up form and the sub-form, but this doesn't work. Instead it gives me a dialog box "Enter Parameter Value". If i enter a valid Project ID it works. But, I want to eliminate this step. I want it to match the Project ID of the current sub-from record and return that record in the pop-up window.
Any thoughts?
So, I have created a 'Edit' button in the sub-form that opens a pop-up form to edit the Project info in the Projects table (tblNewProjects). I have created a macro in the 'On Current' property of the pop-up form to match the Project IDs (Proj_ID)of the pop-up form and the sub-form, but this doesn't work. Instead it gives me a dialog box "Enter Parameter Value". If i enter a valid Project ID it works. But, I want to eliminate this step. I want it to match the Project ID of the current sub-from record and return that record in the pop-up window.
Any thoughts?