‎2016 Aug 21 10:57 AM
Hi,
I created a smartform that need to loop over a table to display data.
it has one page and the loop is on the main window. but when the page is crossed to next page the first row is repeated and after that continus with the correct row.
like this:
first page :1 second page:1
2 5
3 6
4 7
I checked the table which passes data from the program it is correct but I can not understand why this row is repeated.
please help me.
regards
Elnoosh
‎2016 Aug 24 6:21 AM
finally I discovered the solution, my page had one page and 3 windows, in the first window I had a loop on the same table for the first row and on the new page always the first row was replaced in the same structure. I defined new variable for the upper window and it was solved.
‎2016 Aug 21 11:09 AM
Hello Elnoosh,
it is difficult to respond without further information. Do you use the LOOP or the TABLE functionality? Could you paste a screenshot showing the tree of your LOOP/TABLE like this one (please expand all sub nodes first):
(Here you see a table as well as a loop node).
‎2016 Aug 21 11:27 AM
yes, unfortunately it's hard to explore the smartforms. you are write.
‎2016 Aug 21 12:51 PM
‎2016 Aug 22 5:31 AM
thank you Chintu,
would you please explain some more, where and how should I do this ?
‎2016 Aug 22 7:04 AM
sorry I made a mistake, the output is as below, it means one row is omitted in display
please help me, what is the problem?!!!!
page1 : 1 page2: 1
2 6
3 7
4 8
‎2016 Aug 22 7:48 AM
Hi,
Slightly increase the size of your main window, so the record which is omitting will get proper space to print there.
‎2016 Aug 22 8:23 AM
I tried this, the omitted row is not displayed yet and the first record of the internal table is always displayed at the beginning of each page.
‎2016 Aug 22 10:09 AM
Hi,
Check the Page-Break and Page Protection at the table level in table painter, if it is ticked please untick the same.
Thanks.
‎2016 Aug 22 10:35 AM
thank you for your replies,
but I'm not using table, as it is showed in the picture I'm using a loop and template instead of table.
‎2016 Aug 24 4:43 AM
Hello Elnoosh: Is it include the command like 'READ TABLE *** INDEX 1' in program line (CODE1,CODE28,CODE54...)?
‎2016 Aug 24 5:37 AM
I found some thing funny in my form, when I remove the upper windows of the main widow every thing gets ok, although there is enough place for the main window or even I make lots of place between these two windows, any comment and solutions!
‎2016 Aug 24 6:21 AM
finally I discovered the solution, my page had one page and 3 windows, in the first window I had a loop on the same table for the first row and on the new page always the first row was replaced in the same structure. I defined new variable for the upper window and it was solved.