J
JC
Hi All,
I have a form in Split form mode.
On the form section I have two subforms. The first subform has a list of
courses that student is taking - FrmSubCourseRef. the second subform
shows details of the course - FrmSubCourseDetails.
OnDoubleclick on the CourseReference Field in FrmSubCourseRef should
filter the second subform FrmSubCourseDetails showing the details for
that course.
The problem is that the syntax for referencing the second form does not
work in the split-form.
Me.Parent.Form![FrmSubCourseDetails].Form.Filter = "CourseRef= " &
Me.CourseRef
Me.Parent.Form![FrmSubCourseDetails].Form.FilterOn = True
The error message I get is "Error during Execution '-2146500594
(800f000e)': The method 'Parent' from the object '_Form_FrmSubCourseRef'
failed."
If I use normal forms, no problem with the syntax. I'm experimenting
with the split-form option in 2007 and this reference won't work.
Any ideas why?
Thanks,
Jeff C
I have a form in Split form mode.
On the form section I have two subforms. The first subform has a list of
courses that student is taking - FrmSubCourseRef. the second subform
shows details of the course - FrmSubCourseDetails.
OnDoubleclick on the CourseReference Field in FrmSubCourseRef should
filter the second subform FrmSubCourseDetails showing the details for
that course.
The problem is that the syntax for referencing the second form does not
work in the split-form.
Me.Parent.Form![FrmSubCourseDetails].Form.Filter = "CourseRef= " &
Me.CourseRef
Me.Parent.Form![FrmSubCourseDetails].Form.FilterOn = True
The error message I get is "Error during Execution '-2146500594
(800f000e)': The method 'Parent' from the object '_Form_FrmSubCourseRef'
failed."
If I use normal forms, no problem with the syntax. I'm experimenting
with the split-form option in 2007 and this reference won't work.
Any ideas why?
Thanks,
Jeff C