>What is the easiest / surest way to detect when a user has changed rows in a grid? I want to update on-screen totals in case one of the underlying detail records has changed. This would be equivalent to the old FoxPro BROWSE VALID MyUDF clause. I have been looking at the Before and AfterRowColChange events and at the ActiveRow property of the grid.
>
>Thanks in advance,
>Don Smith, Indiana University
***Grid.BeforeRowColumnChange event
Thisform.GridRecNo=recno("curGrid") && 'curgrid' is grid.recordsource
***Grid.AfterRowColumnChange event
IF Thisform.GridRecNo!=recno("curGrid")
=messagebox("Row Really Changed")
Thisform.GridRecno=recno("curGrid")
ENDIF
Edward Pikman
Independent Consultant