CursorAttach Method

Attaches an existing cursor to the current instance of a CursorAdapter object.

CursorAdapter.CursorAttach( [ cAlias [, lInheritCursorProperties ] ] )

Parameters

cAlias

Specifies the alias of the cursor or table to be attached.

When cAlias is specified, CursorAttach populates the CursorAdapter Alias property with the alias of the attached cursor or table. When cAlias is not specified, CursorAttach attempts to attach the cursor or table, which must exist, specified by the current value of the CursorAdapter Alias property.

lInheritCursorProperties

Specifies whether you wish to keep or discard the properties of the cursor or table being attached. The following table lists the possible values for lInheritCursorProperties.

lInheritCursorProperties Description

True (.T.)

Existing properties set for the cursor are inherited by the corresponding properties of the CursorAdapter object.

False (.F.) or empty

Existing properties set for the cursor are not copied into the corresponding properties of the CursorAdapter object.

This option adds flexibility when you are attaching a SQL Pass-Through, Remote View, or other cursor.

Expand imageReturn Value

Expand imageRemarks

Expand imageSee Also


© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic