transfer new value to another form

R

Raul Sousa

I have field A on form A.
The notinlist event is opens a new form with: DoCmd.OpenForm "Form B", , , ,
, acDialog .
I need, after closing form B, the value of field A (which is comum to both
tables) to be transfer to form A.
Is this possible?
 
P

pietlinden

Raul said:
I have field A on form A.
The notinlist event is opens a new form with: DoCmd.OpenForm "Form B", , , ,
, acDialog .
I need, after closing form B, the value of field A (which is comum to both
tables) to be transfer to form A.
Is this possible?

gee... how about using something like this in Form B....

Me.Controls("TheControlToCopyTo")=Forms![TheOpenFormIWantToCopyFrom]![theControlNameContainingTheDataIWantToCopy]
 
Top