Calculation not incrementing

Discussion created by soberbob on Feb 13, 2013
Latest reply on Feb 14, 2013 by BruceHerbach

Can anyone tell me why this doesn't increment correctly? I'm trying to create a basic calculation from an if and let function without using a script. Also I do have a working script, but it fails to work properly on a mass import as I'm not performing the action on object modify I assume. Either way it seems this should work with a basic function that increments a variable.


#Basically if user selects from a dropdown list "Staff" set the host to ABC-2000, ABC-2001, ect...Note that it does display properly, but it doesn't increment.


If ( ID = "Staff"; Let($$ABC="ABC-"; Let($$host = 2000; $$ABC & ($$host+ 1))))