3 Replies Latest reply: Feb 6, 2016 6:01 PM by s Walter RSS

    Questions about syntax from a newbie

    s Walter

      Hi,

       

      1. what is the correct syntax to define a variable in an expression?

       

      Example in Javascript Style:

      varFirstname = GetFieldSelections ([First name]);

      alert varFirstname;


      What is the "Syntax Translation" for this code?


      2. How must i write it, if i want to save a special value, like this:


      varYear2016 = {<Year = {"2016"}>} priceYear, salesYear


      I want to combine the values in one variable. I want to use it in an expression for a select field. If i select 2016 it should take the values from two fields.


      Thats a post Re: One field selection should get two different values about it.


      regards,

      Fritz