AnsweredAssumed Answered

Too many parameters error

Question asked by julzerator on Sep 30, 2014
Latest reply on Sep 30, 2014 by philmodjunk

Title

Too many parameters error

Post

I have no idea what I am doing wrong here... I am trying to calculate and set a global variable to set if a delete option is available in the database.

This is what I have that is getting the too many parameters error:

 

Let ( 

$a = If ( T99_General::DelPerm_Accounting = 1 ; "Accounting" ; "" ) ;
$a1 = If ( T99_General::DelPerm_Accounting = 1 ; " or " ;  "" ) ;

$b = If ( T99_General::DelPerm_Art = 1 ; "Art" ; "" ) ;
$b1 = If ( T99_General::DelPerm_Art = 1 ; " or " ; "" ) ;

$c = If ( T99_General::DelPerm_Manager = 1 ; "Manager" ; "" ) ;
$c1 = If ( T99_General::DelPerm_Manager = 1 ; " or " ; "" ) ;

$d = If ( T99_General::DelPerm_Production = 1 ; "Production" ; "" ) ;
$d1 = If ( T99_General::DelPerm_Production = 1 ; " or " ; "" ) ;

$e = If ( T99_General::DelPerm_Sales = 1 ; "Sales" ; "" ) ;
$e1 = If ( T99_General::DelPerm_Sales = 1 ; " or " ; "" ) ;

$f = If ( T99_General::DelPerm_SalesManager = 1 ; "Sales Manager" ; "" ) ;
$f1 = If ( T99_General::DelPerm_SalesManager = 1 ; " or " ; "" ) ;


"$a" & "$a1" & "$b" & "$b1" & "$c" & "$c1" & "$d" & "$d1" & "$e" & "$e1" & "$f" & "$f1" & "[Full Access]"
 )

 

Help.

Outcomes