Cadcorp SIS API Methods

GetCursorFieldFormula Method

Description

Get the expression of the specified field in the specified cursor.

Syntax

Visual Basic
Public Function GetCursorFieldFormula( _
   ByVal cursor As String, _
   ByVal nField As Long _
) As String

Parameters

cursor
The name of the cursor we are interrogating.
 
nField
The index number of the field we are interrogating, the index starts at 0. A value of -1 will return a tab-separated list of expressions of all fields.
 
For example, in Python:

print(sis.GetCursorFieldFormula ("MyCursor", -1))

Address$\tCounty$\tPostTown$\tPostcode$

Return Type

The field’s expression as a string.

Remarks

Available: GEO MM ME MD OD OM SISpy

Group:

Example

sis.GetCursorFieldFormula ("MyCursor", 0)


Send comments on this topic.

Click to return to www.cadcorp.com

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