Xbasic
OBJECT.COMMIT Function
Syntax
.Commit()
Description
Saves the current record.
Discussion
The <OBJECT>.COMMIT() method applies to:
- Browses (for <OBJECT> use either the <BROWSE> pointer or the name of the browse)
- Forms (for <OBJECT> use either the <FORM> pointer or the name of the form)
The <OBJECT>.COMMIT() method saves the current record.
Example
This button on a form saves the current record:
Parentform.commit()
This button on a form saves the current record in another form called Customer:
:customer.commit()
This button on a form saves the current record in an embedded browse (called Items):
parentform:items.commit()
Limitations
Desktop applications only.
See Also