qman
10-09-2005, 01:27 PM
hi
i have a grid which list all data from a table, i want to open a record in the list, edit and update the data. the updated record is sent to the server which does some validation checks (e.g. duplicate name) before updating the database. when the checkes fail, the database is not updated, however the datapath of the grid has already updated and i need to reload the list to get back. i wonder if there is an easy way to "rollback" the changes in the datapath?
thanks
i have a grid which list all data from a table, i want to open a record in the list, edit and update the data. the updated record is sent to the server which does some validation checks (e.g. duplicate name) before updating the database. when the checkes fail, the database is not updated, however the datapath of the grid has already updated and i need to reload the list to get back. i wonder if there is an easy way to "rollback" the changes in the datapath?
thanks