To take data from one form to another

  • Thread starter Thread starter Biju George
  • Start date Start date
B

Biju George

Hi
I have a form F1 and there is a command button which opens another form F2.
In form F2 I do little searching and I get desired result (Clients name and
ID number) and then I exit from form F2. Any help how I can automatically
get the client ID number in Form F1 after I exit from form F2. Thanks in
advance.
Biju
 
Biju said:
Hi
I have a form F1 and there is a command button which opens another
form F2. In form F2 I do little searching and I get desired result
(Clients name and ID number) and then I exit from form F2. Any help
how I can automatically get the client ID number in Form F1 after I
exit from form F2. Thanks in advance.
Biju

In the close event of Form2...

Forms!Form1!FieldName = Me!SomeField
 
Thanks for the response, but it is taking only the first record of Form F2
and not the one which I want. Please note in form F2 I get the desired
result from combo box.
Again thanks for the help.
Biju
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top