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 MM ME MD 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.


Send comments on this topic.

Click to return to www.cadcorp.com

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