Four Stars

tJavaRow column loop

hello, I wonder how to do a tJavaRow column name loop.

for example, used for(int i=0;i<3;i++){}, while(){}

 

this is my tJavaRow code part.

for (java.lang.reflect.Field field: row2.getClass().getDeclaredFields()) {

columnName = field.getName();

ouput_row.columnName = input_row.columnName+"text" (x) ← how to do a tJavaRow column name loop

}

 

help me

3 REPLIES
Nine Stars

Re: tJavaRow column loop

I think you can try with tJavaflex component.

 

Regards,

Veeru Boppudi
Four Stars

Re: tJavaRow column loop

How do use output_row and input_row with tJavaflex?

Fifteen Stars

Re: tJavaRow column loop

You just use the input row name and the output row name. So if row1 is the input, use row1. If row2 is the output, use that.

Rilhia Solutions