Creates a cursor specified by XMLTable with the fields described by the XMLTable Fields collection and loads it with data from the referenced XML document.

The ToCursor method is supported only for XMLTable objects in the XMLAdapter Tables collection.

XMLTable.ToCursor( [ lAppend [, cAlias [, nCodePage ]]] )



Specifies whether to append data or records to an existing cursor specified by the cAlias parameter. The following table lists the values for lAppend.

lAppend Description

False (.F.)

(Default) Does not add fields to an existing cursor.

True. (.T.)

Adds fields to an existing cursor.


Specifies the alias for the target cursor. The value of cAlias defaults to the XMLTableAlias property, including when cAlias is an empty string ("").


Specifies a code page. The default value is zero (0).

Expand imageRemarks

Expand imageSee Also