Hi!
Use than following:
thisform.lockscreen = .T.
if not eof()
skip + 1
endif
thisform.lockscreen = .F.
>Thanks for the prompt reply.
>
>If I have 2 colums as mycol1 and mycol2
>
>I gave the code in lost focus of mycol2 as
>thisform.thisgrid.mycol1.text1.setfocus
>if not eof()
> skip + 1
>endif
>
>This thing works but it gives jerks the whole screen
>i.e. the transaction is not smooth.
>
>Can I solve that.
>
>Thanks once again for your help.
>
>Rehgards
>
>Ashish
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.