Hi!
You have to do this in AfterRowColChange event. Grid does not reflect current record in alias when something changed in LostFocu event of the control. When record pointer is changed in AfterRowColChange event, grid reflects it.
>Hi
>
>In my form , Data Sesion is private .
>
>I have a grid , and a command button to append new records into grid .
>
>when i click in this command button all works ok .
>
>But , i whish append a new record in grid , when i complete all collumns .
>So , in text , in last collumn ,in LostFocus event
>
>
>
>ThisForm.PageFrame1.Page1.CNovLinha.Click
>
>
>This append a new record , but the table and grid , stay in record previous , and not in new record .
>
>I whish that , table and grid go to new record .
>
>thanks
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.