Bonjour à tous,
I explain my problem with the following example :
my datawindow (dw_test) contains the following data, I want to have a compute field that the value is the concatenation of values of the column TEST1
==> compute_test = value1.1 , value1.2 , value1.3 , value1.4
----------------------------
TEST1 | TEST2 |
------------|--------------|
value1.1 | value2.1 |
value1.2 | value2.2 |
value1.3 | value2.3 |
value1.4 | value2.4 |
-------------------------------
I don't want to loop over my dw to concatenate the values of the column "TEST1" (because my dw has more than 75000 row) ==> that's why I tried to optimise my code.
So I create a computed field named "compted_7" that have this expression :
if(getrow()>1, describe ( "evaluate ('compted_7'," + String(getrow()-1)+" )" ) +"," + String(test1), String(test1))
but the application crashed when I execute this code :
ls_result = dw_test.describe("evaluate('test1', "+ string(dw_test.rowcount()) + ")")
Please help me to write the right expression
Thanks in advance
I explain my problem with the following example :
my datawindow (dw_test) contains the following data, I want to have a compute field that the value is the concatenation of values of the column TEST1
==> compute_test = value1.1 , value1.2 , value1.3 , value1.4
----------------------------
TEST1 | TEST2 |
------------|--------------|
value1.1 | value2.1 |
value1.2 | value2.2 |
value1.3 | value2.3 |
value1.4 | value2.4 |
-------------------------------
I don't want to loop over my dw to concatenate the values of the column "TEST1" (because my dw has more than 75000 row) ==> that's why I tried to optimise my code.
So I create a computed field named "compted_7" that have this expression :
if(getrow()>1, describe ( "evaluate ('compted_7'," + String(getrow()-1)+" )" ) +"," + String(test1), String(test1))
but the application crashed when I execute this code :
ls_result = dw_test.describe("evaluate('test1', "+ string(dw_test.rowcount()) + ")")
Please help me to write the right expression
Thanks in advance