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 MD ME OD SISpy

Group:

Example

sis.CommitDatasetTransaction (1)


Send comments on this topic.

Click to return to www.cadcorp.com

© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).