Barcode problem
I have 2 problems in the software that i am doing:
1)I made a function on the textbox_changed so when he reads the barcode he will search in the database for the product info. The problem is that he is searching for each letter or number. ex: 56874474444 he will search after the 5, then after the 56 the after the 568 ... which will take time in a bid db. Whats the solution for such problem.
2)Also i have a problem while reading 2 barcodes that one of them is smaller than the second. ex: 7373 and 73738474, he will always give the info of the small one.
Thx.



