Referencing a child's child form

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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
 
Call Me.YourSubForm.Form.SFfrmNavButtons.Form.EnableDisableButtons

(I think that will get it. If not, it's close.)
 
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
 
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
 
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
 
Back
Top