RAD Studio VCL Reference
|
Fetches current parameter values from the dataset bound to a specified provider.
function SAS_GetParams(const ProviderName: WideString; var OwnerData: OleVariant): OleVariant; virtual; stdcall;
virtual __fastcall __stdcall OleVariant SAS_GetParams(const BSTR ProviderName, OleVariant OwnerData);
Use SAS_SAS_GetParams to retrieve the current parameter values from the dataset associated with a provider.
ProviderName specifies the name of the provider component whose dataset has the parameters.
OwnerData represents custom information that originates in a client dataset's BeforeSAS_GetParams event handler and returns information that is passed to the client dataset's AfterSAS_GetParams event handler.
SAS_SAS_GetParams returns the parameters, encoded as a Variant array, or, if the provider does not support parameter fetching, SAS_SAS_GetParams returns a Null Variant. Use the UnpackParams procedure to convert parameter values returned by SAS_SAS_GetParams to a TParams object.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|