on 04-01-2009 7:33 AM
Hello All,
i passed only one internal table to smartform containing all the data (employee payment details ),
now i want to display each employee details on saperate page i.e. one employee on one page,
for this i took all data in main window itself but still data of second employee is coming at the end of first employee and so on ,
please help me out.
gaurav.
Hi,
If the employee details fits only in one page,then except first record and last records, call COMMAND WINDOW there you call NEW-PAGE.
If the employee details not fits in one page, in PROGRAM LINES set flag for new employee and when flag is set then call COMMAND WINDOW there you call NEW-PAGE.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
With in loop which is used to display the employee details put a Command node with condition that to move the next employee data to next page.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you can use the solution of Naveen.
but there are also other solutions
like
start for every employee another smartform.
advantage: easy smartform (no loop over employee)
you can work with secundary windows.
hope it helps.
Gr., Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gaurav,
In ur main window after Table Create a program lines....
Ignore the first record in loop....after that check whether the employee number is same or diffrent if diffrent declare a variable Flag and pass it As X
for new page create command and check the tab Go to New Page... and in Condition give Flag = 'X'.
Hope this will help you..
Cheers,
Naveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.