Question Locked

Getting data from one form to another form automaically

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hello,

I am working on access database 2007 application and I want to be able to get data from one form to another without having to type it in manually. I do not know how to achieve this. Can anybody help with the steps pls ?.

Tanks Ambrose

3 replies

by larryd4

You likely using the DoCmd.OpenForm statement to open the second form...

in the code window, put the cursor on that statement and press F1 for Help.

Then read about the OpenArgs argument of DoCmd.OpenForm. It passes a string
to the just opened form... and the form has an OpenArgs property, from which
you can retrieve them on startup.

This discussion is closed to new replies.