All Cadcorp SIS API Methods

GetNumCursorFields Method

Description

Get the number of fields in the specified cursor.

Syntax

Visual Basic
Public Function GetNumCursorFields( _
   ByVal cursor As String _
) As Long

Parameters

cursor
The named cursor to query.

Return Type

The number of fields in the cursor.

Remarks

Available: GEO D OD OM SISpy

Group:

Example

Dim rv As Integer = sis.GetNumCursorFields ( "MyCursor" )

Declares the integer variable rv and sets its value to the number of fields (columns) in the cursor MyCursor.