TAdsStoredProc.LoadParamsFromDictionary

Advantage TDataSet Descendant

  This is the first topic This is the last topic  

TAdsStoredProc

Reads parameter information from the Advantage Data Dictionary.

Syntax

procedure LoadParamsFromDictionary;

Description

LoadParamsFromDictionary populates the Params property with the parameter information associated with the procedure in the Advantage Data Dictionary. If the StoredProcName property is assigned when the TAdsStoredProc is attached to an open TAdsConnection component (for example, at design-time) this procedure is called automatically.

Use this procedure if you are configuring a new TAdsStoredProc instance at run-time, and would like to have the Params property automatically populated, as opposed to writing the code to configure the parameters.