hello, what code do i use inorder to link a textbox to a list box.
On the log in screen theres a username textbox.
On another form it has a listbox containing names that are allowed to be used.
If someone enters a name that is contained within the listbox then it allows entry. if not then it doesnt.
How can i get my system to do this?
the code i used so far which doesn't work is:
if textbox1.text = listbox3.items = false then msgbox("Enter Correct Username" end if If textbox1.text = listbox3.items = true then IRSMS.show() end if
any help will be greatly appreciated