CQG API 4.0 - Revised
CreateQFormula Method
See Also  Send Feedback
qformula_name
Name of the new QFormula.
qformula_expression
Expression of the new QFormula
qformula_number
Number of the new QFormula. Optional, defaults to -1. All values <= 0 are considired as QFormula w/o number.
CQGCEL Interface : CreateQFormula Method

Glossary Item Box

Description

Starts an asynchronous query for QFormula creation.

Syntax

Visual Basic
Public Sub CreateQFormula( _
   ByVal qformula_name As String, _
   ByVal qformula_expression As String, _
   Optional ByVal qformula_number As Long = -1 _
) 

Parameters

qformula_name
Name of the new QFormula.
qformula_expression
Expression of the new QFormula
qformula_number
Number of the new QFormula. Optional, defaults to -1. All values <= 0 are considired as QFormula w/o number.

Remarks

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

See Also