Validate column name exists before graphing
Hi, I am trying to validate that a data table contains a certain column name prior to creating graphs:hasname1 = 0;
for (colval == 1, colval <= Ncols(dt), colval++,
colName = Column Name(colval);
if ( colName == "name1",
hasname1 = 1; );
if (hasname1 == 1,
//create graph
);However, the comparison never returns true because "name1" is a string ...