Function DE Version 2.10

@CompileFormula

Design NotesSystem

Syntax

@CompileFormula(TEXT1)
@CompileFormula(TEXT1;TEXT2)

Beschreibung

Compiliert TEXT1 einen Notes-Formel-Text in das Notes-Formel-Compilat (CNFORMULA) und gibt dieses zurück.
TEXT2 wird für Column-Formulas benötigt und muß den Column-Item-Name enthalten.

Beispiel @CompileFormula(TEXT1):

CNF:=@CompileFormula("@UserName");

style1:=0:1:10:0:4;
RT[noteh1]:=@RTInit;
RT[noteh1]:=@RTAddPopUpStart(CNF;0;RT[noteh1]);
RT[noteh1]:=@RTAddText("Text unter PopUp";style1;RT[noteh1]);
RT[noteh1]:=@RTAddPopUpEnd(RT[noteh1]);

CNF wird eine Compilierte Notes-Formel zugewiesen, die den Namen des aktuellen Benutzers zurückgiebt.
(Diese Formel wurde in einen PopUp in einem RichText-Feld (RT[noteh1]) benützt.)