His problem is when he click on "Edit", The Option is selected but apparently it doesn't... I'm checking where is the problem exactly...
Edit:
Problem found:
Your ListBoxs doesn't correspond to your Field... I think that your Course and Subject ListBox are inverted... So it's normal if your code doesn't find...
Here is the problem resolved:
For i=0 To ListBox3.Count-1
If GETCOURES=ListBox3.Item(i) Then
ListBox3.SelectedIndex=i
Exit
End If
Next
For i=0 To ListBox2.Count-1
If GETSUBJ=ListBox2.Item(i) Then
ListBox2.SelectedIndex=i
Exit
End If
Next
I think that there's a problem when your read your database...
Good Luck