All Cadcorp SIS API Methods

CreateQueryOverlay Method

Description

Creates a new overlay using a SQL statement.

Syntax

Visual Basic
Public Function CreateQueryOverlay( _
   ByVal sql As String, _
   ByVal pos As Integer_
) As Integer

Parameters

pos
The position in the overlays list at which to insert the overlay. If this argument specifies a position in the existing overlays the new overlay will not replace the existing overlay at the given position but will shuffle any other overlays down the list. The new overlay is called Query.

sql
The named Item to use as a backdrop.

Remarks

Available: GEO DK OD OM PySis SISpy

Group:

Example

sqlstatement = "Select * from bins where ref=863" SIS.CreateQueryOverlay(sqlstatement, 1)