All Cadcorp SIS API Methods

OpenExistingDatasetItem Method

Description

Opens an Item from an existing dataset with the given ID number, making it the current open Item.

Syntax

Visual Basic
Public Function OpenExistingDatasetItem( _
   ByVal nDataset As Long, _
   ByVal id As Long _
) As Integer

Parameters

nDataset
The serial number of the dataset whose Item is to be opened. The number can be obtained from the Dataset property of an overlay, or from the GetDataset, GetDatasetContainer or FindExternalDataset methods.
 
id
The ID number of the Item to be opened.

Remarks

Available: GEO D OD OM SISpy

Group:

Example

sis.OpenExistingDatasetItem (0, 103)

opens item 103 in the dataset serial number 0