S stratus Active Member Licensed User Longtime User Apr 20, 2010 #1 I have create a program which use a database.The database have one table and three tables.I have 3 textbox to enter the data for the 3 fields.One textbox for each field.The first field is a number and i want when i enter the number if this number already exists in the database the program autocomplete the number.Something like the autocomplete feature in firefox.Thank's in advance
I have create a program which use a database.The database have one table and three tables.I have 3 textbox to enter the data for the 3 fields.One textbox for each field.The first field is a number and i want when i enter the number if this number already exists in the database the program autocomplete the number.Something like the autocomplete feature in firefox.Thank's in advance
S sitajony Active Member Licensed User Apr 20, 2010 #2 You can do this with KeyPress... Each time when the user press a key, you read on your database if the number exist. If yes, you can show by example a ListBox under the textbox with the entries... I hope it's usefull
You can do this with KeyPress... Each time when the user press a key, you read on your database if the number exist. If yes, you can show by example a ListBox under the textbox with the entries... I hope it's usefull
S stratus Active Member Licensed User Longtime User Apr 20, 2010 #3 sitajony said: You can do this with KeyPress... Each time when the user press a key, you read on your database if the number exist. If yes, you can show by example a ListBox under the textbox with the entries... I hope it's usefull Click to expand... I will try your idea.Thank's
sitajony said: You can do this with KeyPress... Each time when the user press a key, you read on your database if the number exist. If yes, you can show by example a ListBox under the textbox with the entries... I hope it's usefull Click to expand... I will try your idea.Thank's