Provides access to a parameter by its name.
function ParamByName(const Value: string): TMSParam;
Call the ParamByName method to set or use parameter information for a specific parameter based on its name. Name is the name of the parameter for which to retrieve information. ParamByName is used to set a parameter's value at runtime and returns a TMSParam object.
The following statement retrieves the current value of a parameter called "Contact" into an edit box:
Edit1.Text := Query1.ParamsByName('Contact').AsString;