The string worked in one form but didn't work in another. I did change the TexField1 parameter to match the actual field name. I tried using the script on exit and on enter but it didn't work in the second form. I'd prefer to have it go on enter. I learned a long time ago one must design to the lowest common denominator as today too many users don't know where the 'any' key is.