Hello all
As a new Access user, I'm building a database and have learned a lot up to this point. But....now I'm stuck. I have a main form(OncRegMain) that adds records to a table(tblOncReg). This table has a primary key(MEDRECNO).
What I want to do is create a search form with a combo box containing fields: MEDRECNO, LNAME, and FNAME from tblOncRegMain. When the appropriate record is selected from the combo box, I want to be able to hit enter and have the form OncRegMain open with all the fields in the form populated with the data associated with the combo box selection.
I know how to create the combo box with the appropriate columns, but have no idea what to do for the "On Enter" action.
Any ideas?
Thanks in advance
As a new Access user, I'm building a database and have learned a lot up to this point. But....now I'm stuck. I have a main form(OncRegMain) that adds records to a table(tblOncReg). This table has a primary key(MEDRECNO).
What I want to do is create a search form with a combo box containing fields: MEDRECNO, LNAME, and FNAME from tblOncRegMain. When the appropriate record is selected from the combo box, I want to be able to hit enter and have the form OncRegMain open with all the fields in the form populated with the data associated with the combo box selection.
I know how to create the combo box with the appropriate columns, but have no idea what to do for the "On Enter" action.
Any ideas?
Thanks in advance