EPUB | CHM | PDF

TPSQLStoredProc.Methods.SetNeedRefreshParams

Top Previous Next

Sets internal flag to refetch parameters info from server by force on the next time RefreshParams call.

Syntax:

function RefreshParams;

Description:

To compel RefreshParams refetch data directly from server call SetNeedRefreshParams first.

Example:

StoredProc1.SetNeedRefreshParams;
StoredProc1.RefreshParams;
StoredProc1.ParamByName('Contact').AsString := 'Jane Smith';

See also: RefreshParams