After figuring out the update data to listview in another post, I have this problem with my textbox
I have a textbox that allows the user to enter a certain number, when that textbox has lostfocus(as i have currently set) it will check the database and retrieve the data for that number i entered in the first textbox and so forth. The problem I am having is when that textbox is empty and i click anywhere else on the form it activates that lostfocus event for that textbox.
I got it partially solved by changing the textbox event so when i press ENTER key it will do that accessing database and so forth, however I can't get it working with the TAB key as it won't recognise the ascii kode for TAB key.
any help guys ?