I have 2 forms the main form + a search form which is loaded when the user selects search from the menu of the main form..
in the code of the main form i have:
Public intindex As Integer
in my search form i have the following function :
Private Sub LstList1_Click() 'GO BACK TO PARENT FORM
intindex = LstList1.ListIndex
Unload Me
frmCourseManager.Visible = True
End Sub
when i compile the program i get the following error message :
Compile Error Variable not Defined - intindex
i know when i last ran the program in 2000 it worked fine but now i get the above error could this be a compatability problem ?
it worked fine in 2000 with windows 98 but now im using windows xp
thanks in advance.....