I have a form with a datagrid where I am registering a new record. When I am saving the new record I want to validate the fields and prevent the user from saving if anything is wrong.
Is it possible to do this by setting some properties in the "BeforeUpdate"-event for the DataGrid ?
I have tried to set "adStatus" = "adStatusCancel" in the ADODC-connection object's event "WillChangeRecord", but I only get error messages ?
Does anyone have the solution ?
Regards
Knut
Is it possible to do this by setting some properties in the "BeforeUpdate"-event for the DataGrid ?
I have tried to set "adStatus" = "adStatusCancel" in the ADODC-connection object's event "WillChangeRecord", but I only get error messages ?
Does anyone have the solution ?
Regards
Knut