I have lately strugling seemingly with simple thing how to trim from "text box" data after enter. Shortly, user enter data with barcode scanner(we can't trim barcode scanner) and after enter data textbox must cut automatically some data from end (or beginning) 6 characters. After that access automatically finding from database right data and shows it(but data what i want to search is not same between database and entered data to textbox and because i must trim after entering data from textbox). Can anybody help me we seemingly simple thing, i've looking from google but can't find anything about it.