Hi,
I have just started to work on MS access. Came across this situation. Really donno how to go about.
Say I have a 'Member_master' table that holds Mem Id(primary key), Name, address, Post code and phone no.
On a form,I have to get the name as input. And based on the name,I have to populate address, post code and phone number fields on the same form.
Now,
1) When there is only one record for an entered name, I just populate the fields on the form(Form1). (I did this).
2) When there are more than one record for a given name, I want a to open another form (Form2) that would display all the records having the entered name.
(This part is also done.)
3) Actual difficulty for me is,
In the form (form2) which displays the records having same name (say, may be 3 records). i want to click on one record that I needed and this should populate the address, post code and phone no fields in the first form based on the record I chose in form2.
(i.e Once I click the record on form2, the record should be selected and the form2 should be closed, while form1 should have selected values displayed)
It would be of great help if someone could throw some light on this.