ahh again its the LIstbox...
I have a dropdown box. with "Name" "Surname" and "student number"
When the "name" option is clicked i want the listbox to show all the Names in the name field of my DAtabase in my STudent table.
and then when "surname" is clicked, listbox should clear, then show the Surnames in the surname field from my database in Students table
I can do the firs part, i can put in the names in there, but i cant clear it and add the surnames etc in there? howw do i do that?
i have no idea.
And i didnt bind the listbox Programatically, i bounded it with the use of the litle block on the right hand side at the top.
Thank you =) =)