I could setup a seperate form for prompting the search field (maybe this is what i should do). However, I'm using in the current form that is normally READONLY and used to display the key value. When the "FIND" button is pressed, this field is changed to READONLY = .F. and the normal button group is made so that it is NOT visiable at this time. It is the default cancel button in this invisiable button group that giving me a problem.
> The escape key needs to know where its being called from. If you the
> keyfield has the setfocus or if your search form is visible, this should
> be ennough to change the funnctionality of the escape press.
____________________________________________
Norm Peterson
It's a dog eat dog world out there,
and I'm wear'n milk bone underware!