copying value between subform and form?

  • Thread starter Thread starter Jerome
  • Start date Start date
J

Jerome

Hi there,

How do I transfer a value from a sub-form to the main form?

To be more precise: I've created a button on the sub-form and I would
like that by clicking it a value from a certain field on the sub-form
will then be copied to a field on the main form.

I tried a few things but I keep getting error messages.

Any help is appreciated!

Thanks a lot!

Jerome
 
forms![mainform]![txtControlName].Value =
forms![mainform]![subform]![txtsubformcontrolname].value
 
Back
Top