How do you use a variable as a column name identifier.
I have a column in table A which contains names in text format of columns from table B. I want to extract one of the column names from table A and use this to identify a column from column B to do a selection on.
I can extract the column identifier from column A and store this in a variable however I can t get jmp to recognise this as a column name. I have tried using
Column(column_ID_variable)
However this doesnt work as it is looking for a string instead of a variable.I have also tried using Eval on the variable but again this doesnt work.
The code line I have tried is below where the variable colvar contains the column name as a text string
tableB<<select where column(colvar)=="F");
I would appreciate any help on this.
Thanks
Allan