ā2014 Oct 23 12:23 PM
Hi All,
I hae designed a smartform where due to some design restriction I need to use a template and loop it on some internal table.
I have used a loop and then a template but the vaues in then are getting overwritten.
I have given rows as 0 to 0.
Please let me know how this issue can be solved.
Regards,
Elena
ā2014 Oct 23 12:56 PM
Hi,
I don't know what restrictions you have, but you can do the following:
1. Create a loop (not table)
2. Create the template under this loop (not after) and give the line from 1 to 1 (not 0 to 0)
3. Create text nodes under the template and give it line 1, column x (x = whatever column you want to put the value in.
Best regards,
Zhou
ā2014 Oct 23 1:03 PM
Hi Zhou,
I have tried that but it just prints the second line from the iternal table over which the loop is done.
It doesnt print all the four lines that the internal table is populated with.
My template is under the loop.
regards,
Elena
ā2014 Oct 23 1:17 PM
It should work, just tested it here myself.
Have you defined your text node with output in line 1, column xx
My test data with 5 records:
The loop:
Template setup:
Text node setup:
Result:
The node hierarchy is as follows:
I think you have done something wrong along the way. Please check all the settings.
Best regards,
Zhou
ā2014 Oct 23 1:30 PM
Hi Zhou,
My seetings are the way u have shown. I do not understand what could have gone wrong.
Regards,
Elena
ā2014 Oct 23 1:23 PM
Hi,
why you not create a table by command 'Table' into the smartforms?
is more easy and more fast to create.
let me know,
AI
ā2014 Oct 23 1:26 PM
Is your LOOP set up as follows, because this works perfect for me?
ā2014 Oct 23 1:29 PM
Hi Glen,
Yes my loop set up is the way u have shown
regards,
Elena
ā2014 Oct 23 1:31 PM
Do you mean the 'INTO' and 'ASSIGNING' is different? That doesn't influence the printing of the different lines.
Can you put screenshots of your loop, template & text setup?