Query.SetParameter

Syntax:

SetParameter(<Name>, <Value>)

Parameters:

<Name> (required)

Type: String.
Setting parameter name. The parameter has to meet the requirements for the name of the embedded language variables.

<Value> (required)

Type: Arbitrary.
Setting value parameter.

Description:

Sets query parameter. These parameters are available for addressing in the query text. This method allows you to send variables to the query; for example, use them in the query condition.

Availability:

Server, thick client, external connection, Mobile application (server).

Example:

Query.SetParameter("EndDate", WorkingDate);
Query.SetParameter("Nomenclature", Selection);


    

1C:Enterprise Developer's Community