RAD Studio VCL Reference
|
Sets input parameters to values supplied in an XML document.
procedure SetParams(const ParamsXml: string; const ParamsTransformFile: string);
__fastcall SetParams(const AnsiString ParamsXml, const AnsiString ParamsTransformFile);
Call SetParams to supply input parameter values before fetching data from the provider. Parameter values can represent the input parameters to a query or stored procedure, or they can represent field values that filter the data when the provider represents the data in a TTable or TSQLTable component.
ParamsXML is the XML document that represents the parameter values to set. Typically, it contains the contents of an XML document file.
ParamsTransformFile is the name of a transformation file that converts ParamsXml into a data packet. A transformation file is a special type of XML file with the .xtr extension. The transformation file is specific to a particular XML schema and data packet format. Use the xmlmapper.exe utility to create the transformation file.
The next the GetDataAsXml method is called, TXMLTransformClient sends the currently stored parameter values to the provider.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|