copying value between subform and form?

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
 
V

Vantastic

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

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

Top