>When I append a record in a grid, the ActiveRow does not return the correct value,it just return 0.
>How can I to solve it?
ActiveRow and some other grid properties return corect values only when focus is on grid. So you may set it programmatically:
Grid.Setfocus
nActiveRow=Grid.ActiveRow
AhotherControl.Setfocus
Edward Pikman
Independent Consultant