I don't see it. The code works the same for dates - wipes out anything to the right of the cursor.
>Thanks Sergey! That seemed to do it. The only thing I noticed is that it acts differently with date fields. If I'm sitting in the middle of a date field and press CTRL+Y, everything to the right of the cursor will be wiped but the leftmost characters of the date will be left.
>
>With the fix you provided, the entire date is wiped out regardless of where the cursor is positioned. Any ideas why that may be?
>
>Thanks again for your help.
>
>Rodd
>
>>Rodd,
>>
>>Try
...
>>keyboard '{CTRL+Y}' CLEAR
>>DOEVENT
>>...
>>
--sb--