>Works like a charm!!!! Thanks so much!
>Here is my updated keypress event:
You may want to test for pemstatus(Activecontrol, 'SetFocus', 5) to be on the safe side
Found this in my form's class
do case
case isnull(m.ac)
case !pemstatus(m.ac, 'SetFocus', 5)
otherwise
=m.ac.SetFocus()
endcase
I've have forgotten, but I think that certain controls have no SetFocus()
There's a reason I've got it in. Just cannot remember why
Gregory