I have a parameter query that selects a group of records in a table based on the entered year. Let’s call the query – paramYearqry
paramYearqry is the control source of a form that puts the group of records on a tab/page on the form. Let’s call this form – yearRecordsfrm.
I have a different form (let’s call it – theCallingfrm) that has an on-click event to open yearRecordsfrm. When the event fires, I get the prompt to enter the parameter and the yearRecordsfrm opens correctly.
I want to enter the parameter year in a control on theCallingfrm so that the yearRecordsfrm opens without the prompt because it is using the year that was entered on theCallingfrm.
I can’t get it to work correctly. Please help!
paramYearqry is the control source of a form that puts the group of records on a tab/page on the form. Let’s call this form – yearRecordsfrm.
I have a different form (let’s call it – theCallingfrm) that has an on-click event to open yearRecordsfrm. When the event fires, I get the prompt to enter the parameter and the yearRecordsfrm opens correctly.
I want to enter the parameter year in a control on theCallingfrm so that the yearRecordsfrm opens without the prompt because it is using the year that was entered on theCallingfrm.
I can’t get it to work correctly. Please help!