wwXMLAdapter :: GetTable

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

o.GetTable(lcCursor as String)

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