09-04-2009 11:42 AM
Hi all,
I want to print labels...
I defined 4 windows on the FIRST page. That's it. No second page.
1 is a main window and the 3 others are secundary windows. I found an example where that was the case.
At the end of the MAIN window, I included a command line saying GO TO NEW PAGE: FIRST.
This works correct if I do not need more then 7 labels. 4 labels are printed on the first page and 3 on the second page in this case.
Apparently, the program loops 7 times and then displays the print.
It always loops 7 times, no matter what I try.
Anyone a clue?
Thanks a lot!
Dimitri
09-04-2009 11:51 AM
Hi!
Remove this command line from your smartform: GO TO NEW PAGE: FIRST.
Instead of this, simply do the following:
- select the "FIRST" page under the "pages and windows" node and double click on it.
- select general attributes tab
- Next to the "next page" there is a listbox. Choose the "FIRST" from it. This will call the FIRST page again, if its MAIN window is full.
Regards
Tamá
09-04-2009 11:59 AM
Hi Tamás,
Now it's even worse. It only prints 1 page. That's it.
Kind regards
Dimitri
09-04-2009 12:02 PM
Hi,
Create one page with name FIRST. Provide the next page is "FIRST' for that.
Create a Main window>Create a loop with internal table to display the data of Label>Create a Template and arrange it as per your requirement. this general Approach for any label.
Don't go for Command node here.
09-04-2009 12:11 PM
Hi,
That's the problem.
My data resides in structure LEDLV_DELNOTE.
Within that structure, 2 separate structures are used to move the data to the smartform.
So I can only loop over 1 structure.
So 1 line in the structure does not match 1 label in my case.
I sill wonder why the program loops 7 times. I want to understand that first.
Thanks
Dimitri