Draco

ERROR in "IF" of trigger,...

Discussion created by Draco on Mar 19, 2016
Latest reply on Mar 20, 2016 by Draco

Hi,

this happens when you run a trigger in a field of a record in a portal.

try in : ObjectValidate, ObjectSave, ObjectExit

 

SCRIPT TRIGGER ###########################################

Set Variable : [ $cont ; ExecuteSQL .... ]     OK   Value "cont" = 2

Set Variable : [ $lim ; tablePortal::limite ]     OK  Value "lim" = 10

 

Show Custom Dialog [ "Value : " & $cont & " - " & $lim]  OK  Value : 2 - 10


If [$cont > $lim ;

    Show Custom Dialog [ " ERROR  !! " ]

EndIf

###########################################################

 

El problem isThe error message appears



FMA14.0.5

OSX 10.10.5

Outcomes