Tuesday, March 21, 2006

Sometimes you want to output a table based on its column name, but you don't necessarily want to hardcode the column name in your code.

Here is what you can do:




#column#:


#Evaluate(column)#








To take this one step further, you can use another table's field values (the field values must map to your column names of course) to control the output of your current table.





#table2ColumnName#




#Evaluate("table1.#getCorrelationCategories.table2ColumnName#[i]")#





0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home