>>>how to tell if you are changing rows in beforerowcolumnchange? have a way that is working, but wonder what others are using?
>>>
>>>thanks
>>>
>>>brenda
>
>>Usually, it's checked in AfterRowColumnChange event:
>>***Grid.BeforeRowColumnChange
>>Thisform.Gridrecno=recno("curGridsource")
>>***Grid.AfterRowColumnChange
>>IF Thisform.Gridrecnorecno("curGridsource")
>>*** this is new row
>>ENDIF
>
>recno has not changed to new row in beforerowcolumnchange(brcc). want to do row level validation. want to validate before letting the the recno change. and prohibit it from changing by settingn nodefault if not pass the edits.
>
>thanks - brenda
You can still do all this if you use cursor, i.e. you check that row changed in arcc, validate cursor record against table record and either save to table or revert the cursor. Cursor/grid record pointer also can be restored back.
Edward Pikman
Independent Consultant