Hi
Can sum1 plz help i want to display student results on the studentSubform based on the selection i make in the combobox so far this is what ive got.
Query called students whereby the names of all the students are retrieved from the query into the combobox, the link master fields and child fields are linked with the student name abd behind the after update action i have got the following code:
Private Sub Combo6_AfterUpd ate()
DoCmd.ShowAllRe cords
Me!Studentsubfo rm1.SetFocus
DoCmd.FindRecor d Me!Combo6
Me.Combo6.Value = ""
End Sub
but everytime i click in the combobox to select the name of the student nothing happens but when i click enter the subform changes the results it displays but it doesnt go back to the previously selected students details i hope im making sense. Can sum1 help if they can and please tell me what im currently doing wrong.
Thanks
Can sum1 plz help i want to display student results on the studentSubform based on the selection i make in the combobox so far this is what ive got.
Query called students whereby the names of all the students are retrieved from the query into the combobox, the link master fields and child fields are linked with the student name abd behind the after update action i have got the following code:
Private Sub Combo6_AfterUpd ate()
DoCmd.ShowAllRe cords
Me!Studentsubfo rm1.SetFocus
DoCmd.FindRecor d Me!Combo6
Me.Combo6.Value = ""
End Sub
but everytime i click in the combobox to select the name of the student nothing happens but when i click enter the subform changes the results it displays but it doesnt go back to the previously selected students details i hope im making sense. Can sum1 help if they can and please tell me what im currently doing wrong.
Thanks
Comment