Hi,
I would like to get some expert opinion on this matter.
I have a grid on a form. I want to control the data changes on the grid. What I did is that in beforerowcolumnchange event I put some code to check the validty of the data (I need to check it only the user changes the row so I took the changevalue 2 or 3 to proceed). If any validity rule is broken I want the cursor come back to the same row.
My question is that should I use the underlying table fields to check the validity or thisform.grid1.column1.text1.value ?
How do I come back to the same row ? where do I have to put that code to comeback ? Is it in afterrowcolumnchange ?
Any help is appreciated.
Kurjo
I would like to get some expert opinion on this matter.
I have a grid on a form. I want to control the data changes on the grid. What I did is that in beforerowcolumnchange event I put some code to check the validty of the data (I need to check it only the user changes the row so I took the changevalue 2 or 3 to proceed). If any validity rule is broken I want the cursor come back to the same row.
My question is that should I use the underlying table fields to check the validity or thisform.grid1.column1.text1.value ?
How do I come back to the same row ? where do I have to put that code to comeback ? Is it in afterrowcolumnchange ?
Any help is appreciated.
Kurjo