I have a form that works just fine when executed on its own. It simply uses an Empl ID that is entered and then retrieves rows from a job history table after a button is clicked. Let's call it frm_Job. Then, I created a frm_Main with tabs, and used the Subform control to define frm_Job on the first tab as its Source Object. Now when I enter in an Empl ID and click the button on frm_Job - it doesn't work. When the button is clicked, it prompts me to "Enter Parameter Value ?" for the query. If I do that - it works okay...so it doesn't seem to be picking up the entry off of the Subform field. Weird. As I said, if I open the frm_Job directly, it runs fine. Is there anyone who can clarify what's going on here? (I'll return to this after the weekend - I'm braindead now, but will award points based on first correct response. TIA!)
Forms!frm_Main!sub_Job!txt
should be
Forms!frm_Main!sub_Job.for