wwXMLAdapter :: GetTable

Returns an XMLTable object by name which is not supported natively in the XML Adapter.

o.GetTable(lcCursor as String)

Return Value

XML Table object or null if it doesn't exist

Parameters

lcCursor as String

Example

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

loTable = loXml.GetTable("Guest")
loTable.ToCursor(.f.,"TGuest")

loTable = loXml.GetTable("TT_Cust")
loTable.ToCursor(.f.,"TCust")

SELECT TGuest
BROWSE NOWAIT
SELECT TCUST
BROWSE NOWAIT

See also:

Class wwXMLAdapter

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