All Cadcorp SIS API Methods

CommitDatasetTransaction Method

The serial number of the dataset for which the transaction is to be committed. The serial number can be obtained from the Dataset property of an overlay, or from the GetDataset, GetDatasetContainer or FindExternalDataset methods.

Description

Ends a transaction, committing to the database the changes made inside the transaction.

Syntax

Visual Basic
Public Function CommitDatasetTransaction( _
   ByVal nDataset As Long _
) As Integer

Parameters

nDataset
The serial number of the dataset for which the transaction is to be committed. The serial number can be obtained from the Dataset property of an overlay or from the GetDataset, GetDatasetContainer or FindExternalDataset methods.

Remarks

This method closes the transaction, saving changes to the database. If the underlying table has been locked, it will be released.

Available: GEO OD SISpy

Group:

Example

sis.CommitDatasetTransaction (1)