Hi all,
I have a form and a subform, let us call the form attempt1 and the subform attempt2 (Witty, huh?).
Attempt1 is run off a query that allows the user to just type a Unique ID code and pulls up a record that is displayed in the form. This works wonderfully, and upon finishing it, I patted myself on the back.
My problem is this. I want the subform to pull up information from another table based upon the information displayed in 4 boxes in attempt1. I have tried to do this with a sql statement in the open event of attempt2, but it simply asks for the information to be inputted by hand.
Any suggestions?
I have a form and a subform, let us call the form attempt1 and the subform attempt2 (Witty, huh?).
Attempt1 is run off a query that allows the user to just type a Unique ID code and pulls up a record that is displayed in the form. This works wonderfully, and upon finishing it, I patted myself on the back.
My problem is this. I want the subform to pull up information from another table based upon the information displayed in 4 boxes in attempt1. I have tried to do this with a sql statement in the open event of attempt2, but it simply asks for the information to be inputted by hand.
Any suggestions?