>Now I need to know how to take out the return character code key from
>thisform.fld.value incase the user hits the return key?
>thanks Ed...
Use STRTRAN(THISFORM.fld.VALUE,chr(13),"") to 'remove' Enter char.
Also, remember that you could check for other functional keys like ESC,TAB ,etc. (see INKEY() article in help). There are a lot of such keys so it's better to use textbox where Value property could contain alphanums only.
Edward Pikman
Independent Consultant