>Can anybody help me???
>I have a grid with 6 columns. In the third column.text1.lostfocus event
>if empty(This.Value)
> MESSAGEBOX(allt(oApp.GetLoginName()) + ": " + ;
> "field x can not be empty ", ;
> MG_ICONMSG2, ;
> APLIC_LOC)
> This.SetFocus
> NODEFAULT
>endif
>
>this code is executed. When input information, I can't see that. When lost focus I can see the information typed.
>
>What is wrong?...
>
>Any help will be appreciated. Thanks
Usually, it helps to shift focus back and forth.
....
Thisform.cmdButton.Setfocus && it can be any control on your form
This.Setfocus
Nodefault
....
Edward Pikman
Independent Consultant