Grid.Column.SetFocus
>Hi all
>
>I need to tab to prior control in a grid if a validation is true, for example I have in the 3rd. and 4th column of a grid to validate that one of them has a value, so in the valid event of the 4th. I put the validation returning -1 if both are 0, but the cursor stays in the 4th.
>
>TIA
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.