All Cadcorp SIS API Methods

OpenSortedCursor Method

Description

Opens a new sorted cursor from an existing named cursor.

Syntax

Visual Basic
Public Function OpenSortedCursor( _
   ByVal cursor As String, _
   ByVal sourceCursor As String, _
   ByVal nField As Long, _
   ByVal bAscending As Integer _
) As Integer

Parameters

cursor
The cursor created from sourceCursor.
 
sourceCursor
The name of the cursor being interrogated.
 
nField
The index number of the field being interrogated.
 
bAscending
True   Records are sorted in ascending order.
False   Records are sorted in descending order.

Remarks

Available: GEO D OD OM SISpy

Group:

Example

sis.OpenSortedCursor ( "MyCursor2", "MyCursor1", 1, True )