wwXMLAdapter :: GetCursor

Turns an existing XMLTable from the XMLAdapter into a cursor by name or index.

o.GetCursor(lvCursor as Variant,llAppend as bool)

Parameters

lvCursor as Variant
Name of the Table to Retrieve

llAppend as bool
Append to existing cursor/table if the table is open

Example

loXml = CREATEOBJECT("wwXmlAdapter")
loXml.LoadXML(lcXml)

*** Retrieve guest cursor
loXml.GetCursor("Guest")  && Creates Guest Cursor
loXml.GetCursor("TT_Cust")  && Creates TT_Cust Cursor

See also:

Class wwXMLAdapter

© West Wind Technologies, 2023 • Updated: 05/28/15
Comment or report problem with topic