Datasnap.DBClient.TCustomClientDataSet.FetchParams

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Datasnap.DBClient.pas
Datasnap.DBClient.hpp
Unit: Datasnap.DBClient
Parent: TCustomClientDataSet

Delphi

procedure FetchParams;

C++

void __fastcall FetchParams();

Description

Retrieves parameter values from the provider.

Call FetchParams to initialize the Params property with the current parameter values on the provider's dataset. FetchParams does nothing unless the provider's dataset can supply parameter values.

Note: At design time, you can fetch parameter values by right-clicking the client dataset and choosing Fetch Params.

Warning: If the provider is on a stateless application server, the values returned by FetchParams can be changed at any time by other clients. To obtain output parameters from a stateless application server, use the Execute method instead.

See Also


Code Examples