S
Stephen
I haev a main form that has the profile of a student
I have a subform with the list of classes that a student took in a
schoolyear. The subform is setup so that teh row that is selected (class
chosen) highlights the selected class row.
From a completely differnt form, I am able to see the grades that a student
received. When I choose a grade, I want to be able to automatically have
teh system open the student profile form (frmStudProf) and then navigate to
the appropriate record on the class subform (frmStudProfSubformClasses) such
that the appropriate row is highlighted.
I have been trying to use code from the grades form such as:
Set SearchRecord =
Forms![frmStudProf]![frmStudProfSubformClasses].Form.RecordsetClone
SearchRecord.FindFirst "[ClassRecordID] = " & Me.ClassRecordID
If Not SearchRecord.EOF Then
Forms![frmStudProf]![frmStudProfSubformClasses].Bookmark =
SearchRecord.Bookmark
Forms![frmStudProf]![frmStudProfSubformClasses].Form.Bookmark =
SearchRecord.Bookmark
Help..I can't seem to properly implement this....
I have a subform with the list of classes that a student took in a
schoolyear. The subform is setup so that teh row that is selected (class
chosen) highlights the selected class row.
From a completely differnt form, I am able to see the grades that a student
received. When I choose a grade, I want to be able to automatically have
teh system open the student profile form (frmStudProf) and then navigate to
the appropriate record on the class subform (frmStudProfSubformClasses) such
that the appropriate row is highlighted.
I have been trying to use code from the grades form such as:
Set SearchRecord =
Forms![frmStudProf]![frmStudProfSubformClasses].Form.RecordsetClone
SearchRecord.FindFirst "[ClassRecordID] = " & Me.ClassRecordID
If Not SearchRecord.EOF Then
Forms![frmStudProf]![frmStudProfSubformClasses].Bookmark =
SearchRecord.Bookmark
Forms![frmStudProf]![frmStudProfSubformClasses].Form.Bookmark =
SearchRecord.Bookmark
Help..I can't seem to properly implement this....