>For some reason the focus does not get set in the following:
>store allt(thisform.mytextbox1.value) to mcard_nbr
> SEEK MCARD_NBR
> IF MCard_Nbr <> Card_Nbr .OR. DELETE()
> do quickmsg with "CUSTOMER'S CARD NO. NOT ON FILE"
> thisform.mytextbox1.setfocus()
> thisform.refresh
>
>Is there a fault here?
>thanks
If this code is being executed in a Valid event, Setfocus() can not be executed in the Valid in VFP5.
Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.