Referencing a child's child form

G

Guest

Hi All,

I have a form that contains a subform that has a subform in it, how do I
reference the child's child for from the main form? The reason for this is
that I am using Stephen Lebans RecordNavigationButtons code from his site,
which by the way is very usefull. So in the first level subform, the one
that displays the data there is the following call: -
Call Me.SFfrmNavButtons.Form.EnableDisableButtons
Now when I run the mainform and click the button contained in the sub form I
get a message telling me that the first level subform is not open??

Confusing I know, but help would be much appriciated.

Mike J. Soames
 
S

SusanV

It depends where you are calling it from - if you're calling it from the
first child it's the same as the first child would be from the parent,
simply:
Me!Subform2.Form!ControlName

Check where you have bangs vice dots - that may be it.

Good info - one of my fave bookmarks:
http://www.mvps.org/access/forms/frm0031.htm
 
G

Guest

Call Me.YourSubForm.Form.SFfrmNavButtons.Form.EnableDisableButtons

(I think that will get it. If not, it's close.)
 
E

eos

AUTO-REPLY From George Levitt

Please allow this to confirm a system receipt of your e-mail.

I am out of the office until Wednesday morning (1/12/05) and will not be
reviewing or responding to email or voicemail until that time.

I look forward to replying to your message on Wednesday.

Thanks and warmest regards, George
 
E

eos

AUTO-REPLY From George Levitt

Please allow this to confirm a system receipt of your e-mail.

I am out of the office until Wednesday morning (1/12/05) and will not be
reviewing or responding to email or voicemail until that time.

I look forward to replying to your message on Wednesday.

Thanks and warmest regards, George
 
E

eos

AUTO-REPLY From George Levitt

Please allow this to confirm a system receipt of your e-mail.

I am out of the office until Wednesday morning (1/12/05) and will not be
reviewing or responding to email or voicemail until that time.

I look forward to replying to your message on Wednesday.

Thanks and warmest regards, George
 

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