J
Joe Clark
Hey y'all, I've got a form that lists all the Students in a class and
a link to "Edit Student Information" which opens a form to edit
individual records. The link uses the same type of code generated by
the form wizard and it automatically filters the records to the class.
The next thing I want to do is to open the new form to exactly the
record that was highlighted in the list. I can capture the list
position from the subform (SelTop) and I found a method called
"GoToRecord" that works like this to go to the 8th record:
DoCmd.GoToRecord acDataForm, "Student Data Entry", acGoTo, 8
But, one, it doesn't seem to work, and two, the records on the pop-up
form might be sorted differently so I'd rather search by value. Is
there a way I can activate "Find" on the new form? I don't want to
apply a filter because the other students in the class should still be
accessible.
a link to "Edit Student Information" which opens a form to edit
individual records. The link uses the same type of code generated by
the form wizard and it automatically filters the records to the class.
The next thing I want to do is to open the new form to exactly the
record that was highlighted in the list. I can capture the list
position from the subform (SelTop) and I found a method called
"GoToRecord" that works like this to go to the 8th record:
DoCmd.GoToRecord acDataForm, "Student Data Entry", acGoTo, 8
But, one, it doesn't seem to work, and two, the records on the pop-up
form might be sorted differently so I'd rather search by value. Is
there a way I can activate "Find" on the new form? I don't want to
apply a filter because the other students in the class should still be
accessible.