Update and sync dataset data
- Last Updated: January 16, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
After a dataset is retrieved from the server, the client may want to modify the data in the dataset and submit the modifications to the server.
The steps for updating data with a dataset are as follows:
Client-side
1. Update the working dataset.
2. Prepare a change dataset to be sent to the server.
3. Call a procedure to pass updates to the server.
Server-side
4. Define procedure and parameters to work with the change dataset sent from the client.
5. Write changes back to the database.
6. Return the changed dataset to the client.
Client-side
7. Merge the returned changed dataset back to the working dataset.
8. Handle any errors.