OpenCursorDatasetItem Method
Description
Opens the Item in the named cursor dataset with the given serial number, making it the current open Item.
Syntax
Visual Basic |
---|
Public Function OpenCursorDatasetItem( _ ByVal nDataset As Long, _ ByVal bookmark As Variant _ ) As Integer |
Parameters
- nDataset
-
The serial number of the cursor dataset.
- bookmark
-
Any item in a cursor-based dataset will have this property, which lets you go back to the underlying data store and find the row.
Remarks
Available: GEO D OD OM SISpy
* Note: This method uses a parameter of type Variant so GisLink programs should be compiled as a DLL to run "in-process" with SIS desktop products.
Group:
Example
To retrieve a bookmark:
Dim oBookmark As Object
oBookmark = sis.GetProperty(SIS_OT_CURITEM, 0, "_bookmark@")
To open an item by its bookmark:
sis.OpenCursorDatasetItem(Dataset, Bookmark)