How can I assign values back to the form from another form

hri

New member
Local time
Today, 04:05
Joined
Oct 13, 2011
Messages
7
Hi
I Have created a form which contains customer Id and all othe relating fields such as customer name etc. I have created a command button next to the customer id and When I click the button it opens another form which opens the customer table.
When I click the column in the customer form i want the values to be assigned to the main form.
Is there any way to do this.
I am new to access development.
any help will be greately appreciated
thanks
 
You can use the OpenArgs portion of the DoCmd.OpenForm command to pass information between the calling form and the form being opened.


This post has some sample code for using OpenArgs.
 

Users who are viewing this thread

Back
Top Bottom