メインコンテンツまでスキップ
バージョン: 次へ

OBJECT Get data source formula

OBJECT Get data source formula ( {* ;} object ) : formula

引数説明
*演算子If specified, object is an object name (string)
If omitted, object is a field or variable
objectanyObject name (if * is specified) or
Field or variable (if * is omitted)
formula4D.FormulaFormula associated with the form object (Null if no formula is associated)

説明

The OBJECT Get data source formula command returns the formula (if any) associated object(s) designated by the object and * parameters.

Passing the optional * parameter indicates that the object parameter is an object name (string). If you do not pass this parameter, it indicates that the object parameter is a field or variable. In this case, you pass a field or variable reference instead of a string (field or variable object only).

When a formula is associated with a form object, it acts as the object's data source at runtime.

If this command is applied to an object with no custom formula assigned, it returns the automatically assigned dynamic form variable.
If the object does not exist or does not support formulas, it returns Null.

例題

You want check what formula (if any) is bound to an object:

$formula:=OBJECT Get data source formula(*; "myInput")

参照

OBJECT SET DATA SOURCE FORMULA
LISTBOX GET COLUMN FORMULA
OBJECT SET DATA SOURCE
OBJECT GET VALUE

プロパティ

コマンド番号1852
スレッドセーフ