>I have a form that has a txt box on it. When the operator types a number not in the table, I want the focus to return back to the box so they can re-type another one.
>I have the select on entry to T so that the whole value is highlighted when the object has focus.
>
>I am getting an error with this.
>
>Any suggestions?
>
>Thanks in advance.
oops, here is the code
SELECT saw_data_table
SET order to column1
IF ! seek(UPPER(alltrim(this.value)))
MESSAGEBOX("That part is not on Record")
THISFORM.Text2.SetFocus
ELSE
thisform.refresh()
ENDIf
He is there and He is not Silent.