I have tried the code you probided but Ma getting the #Name? error int he text box.
I entered in the following code in the Control Source Property sheet box: me.Employee_Name=Mid(me.Bar_Code,6,5) but it gets changed to:
[me].[Employee_Name]=Mid([me].[Bar_Code],6,5) where textbox2 is...