CQG API 4.0 - Revised
RequestQFormulaDefinition Method
See Also  Send Feedback
qformula_expression

Expression can be name or number of QFormula. Name can be passed with or without prefix "Q.".

Number should be formatted as "QNumber".

For example, for QFormula "Q.Crack" with number 17 next inputs are valid:

  • "Q.Crack"
  • "Crack"
  • "Q17"
CQGCEL Interface : RequestQFormulaDefinition Method

Glossary Item Box

Description

Starts an asynchronous query for QFormula definition by QFormula name or number.

Syntax

Visual Basic
Public Sub RequestQFormulaDefinition( _
   ByVal qformula_expression As String _
) 

Parameters

qformula_expression

Expression can be name or number of QFormula. Name can be passed with or without prefix "Q.".

Number should be formatted as "QNumber".

For example, for QFormula "Q.Crack" with number 17 next inputs are valid:

  • "Q.Crack"
  • "Crack"
  • "Q17"

Remarks

The outcome of the request, as well as any errors, are reported via the QFormulaDefinitionResolved event, which is fired only once per request.

See Also