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 MM ME MD OD OM SISpy

Group:

Example

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


Send comments on this topic.

Click to return to www.cadcorp.com

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