Subject | simple question: how to end edit |
---|---|
Author | mirco@intellitec.de |
Post date | 2001-11-09T14:10:26Z |
Here is a simple question: When I manipulate datasets/queries in code
(adding, modifying rows) the actions are like this:
1. put dataset into edit mode (ds.edit)
2. change fields (ds...fields(..).value := xyz)
3. finish and post the changes
How do I do (3)? Am I supposed to call the transaction's commit
method? Which is the proper closing for a sequence started with .edit
or .insert?
Mirco
(adding, modifying rows) the actions are like this:
1. put dataset into edit mode (ds.edit)
2. change fields (ds...fields(..).value := xyz)
3. finish and post the changes
How do I do (3)? Am I supposed to call the transaction's commit
method? Which is the proper closing for a sequence started with .edit
or .insert?
Mirco