I need to create a number of fields within a for loop. Is it possible to name them based on what iteration the loop is on? IE: Run: a,b,c,d,e,f 1,2,3,1,2,3 through this code: integer x for x = 1 to fieldcount() begin if (fieldvalue(x) >= 2) begin String above(x) above(x) = fieldvalue(x) end end and get an output of: a,b,c,d,e,f,above2, above3, above5,above6 1,2,3,1,2,3,2,3,2,3 If that is not possible, is it possible to call variables based on the iteration of a loop? IE: Run: a,b,c,d,e,f 1,2,3,1,2,3 through this code: integer x String above1 String above2 String above3 String above4 String above5 String above6 for x = 1 to fieldcount() begin if (fieldvalue(x) >= 2) begin above(x) = fieldvalue(x) end end and get an output of: a,b,c,d,e,f,above1,above2, above3, above4, above5,above6 1,2,3,1,2,3,(null),2,3,(null),2,3 Before you ask, nulling out numbers below 2 (columns a and d) would not be an option. Those fields are used in later calculations. Thanks!
... View more