RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXMLBroker.RowSetVarName Method

Returns the name of the javascript variable for the XML broker's dataset.

Pascal
function RowSetVarName(Path: TStrings): string;
C++
__fastcall AnsiString RowSetVarName(TStrings Path);

When the InternetExpress page producer assembles an HTML document that uses the XML data packets managed by the XML broker, it declares a javascript variable of type RowSet for the javascript object that represents the XML broker's dataset. When the InternetExpress page producer needs to determine whether a RowSet variable was already declared, it looks up the variable name by calling RowSetVarName. 

Path is a set of variable names for all the master datasets for which the XML broker's dataset is a detail set. 

RowSetVarName returns the name of the XML broker, qualified by all strings in Path.

Note: Variable names are assigned for an XML broker's dataset using the MasterRowSetVarName method.
 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!