I have my data file with the following records:
Lineas;Nombre;Articulo
2;Jose;Plantas
1;Juan;Verduras
1;manuel; carne
and i want to get this result
2;Jose;Plantas
2;Jose;Plantas
1;Juan;Verduras
1;manuel; carne
I have used the combination fields, to obtain a normal combination of them, but I cannot get the macro to work, and the corresponding code.
I have modified the values FIRST_NAME for Nombre, LAST_NAME for Articulo and Quantity for Lineas, and nothing.
I have
Quote:
IF{MERGEREC}= 1 {SET Idx 0}}{IF{Idx}<> {MERGEREC} "{SET Data "{MERGEFIELD Nombre} {MERGEFIELD Articulo}"}{SET QTY {MERGEFIELD Lineas}}{SET Idx {MERGEREC}}"}{SET QTY {=QTY-1}}{REF DATA}{NEXTIF {QTY}= 0
|
tried before, after the field label, instead of the label, and I don't see how it is, nor have I found more information elsewhere.
Thanks for your help