Error message on command button to copy data

  • Thread starter Thread starter Dudley
  • Start date Start date
D

Dudley

I have a command button on a sub-form to copy data from another form:

Me.CareOf = [Forms]![RegisteredOffice]![CareOf]

I get a message that Access cannot find the form RegisteredOffice. Can
anyone tell me the reason for this - or the code to copy the data from the
table field.

Thanks for any help.
Dudley
 
Is RegisteredOffice open at the time?
Is it a subform on another main form or on this main form?
 
Thanks very much to both for advice. I finally got it to work by opening
RegisteredOffice, a separate main form.

Dudley
 
Back
Top