I work in VB6 with a DataGrid control. I try to validate data in a BeforeColUpdate event of DataGrid. When the value is wrong I want to correct the value. I use the folowing statement, like in VB Help documentation:
DataGrid1.Columns(ColIndex).Value=correct_value
but this statement doesn't work - it does nothing, the old value remains.
How can I set a value in a DataGrid column ?