ON KEY LABEL CTRL+K DO InsertTrimmed * InsertTrimmed.prg _CLIPTEXT = ALLTRIM(_CLIPTEXT) SYS(1500, "_MED_PASTE", "_MEDIT")>I constantly use CTRL+C to copy the contents of a field and then use CTRL+V to paste the data somewhere else. The CTRL+C copies the entire field including all trailing blank spaces. I know that within a program _cliptext = ALLTRIM(_cliptext) will remove both preceding and/or trailing spaces.