Referring to a field on a subform placed on a tab control

G

Guest

The form is called: frmMain.
The tab control is called tabMain.
The subform placed on one of the tabs is called: frmProjDtl
The field on frmProjDtl is called: dteClosed.

How can I refer to that field from the frmMain. Thanks in advance for your
help. I am using Access 97.
 
G

Guest

The tab control shouldn't matter. Refer to controls on the subform like this:

Me.frmProjDtl.Form.dteClosed

Be sure that frmProjDtl is the name of the sunform control and not the name
of the form itself; they might be different.

Barry
 

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