Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Smartforms - multiple pages

Former Member
0 Likes
435

Dear all,

I am doing the check printing, here i want to print, one record in one page only.

that is in my internal table have 5 records. i need to print it one record in one page with all header and fotter,

and second record in second page with all header and foter.

and 3rd also etc.

how should i do...

plz help me

Regards

margani

2 REPLIES 2
Read only

Former Member
0 Likes
397

Hi Buddy,

For this scenario u have to 2 options .

1. u have to create 5 pages for all record with the same structure and u dont have design all pages just design a single page and copy all with same name and put condition on all pages for record .

2. u just create a single page and and insert a secondry window for record and in loop put a condtion for internal table indexing by that when condition will fatch new record it will insert into a new page

please dont forget to do auto page increment option ........

Thanks.

Read only

jayesh_gupta
Active Participant
0 Likes
397

You may achieve this in a single page in main window itself.

1. On creating a smart form a default page and a main window will be available by default.

2. Create separate windows for header and footer in the page.

3. Right click on the main window node>create>flow logic>loop. Give the internal table name and work area.

4. Right click on the LOOP node>create>table. Go to the DATA tab and tick off the check box for INTERNAL TABLE as you are already looping on your internal table using LOOP node. Create the table headings and the main area. I assume you know this part.

5. Again right click on LOOP node>create>flow logic>command. Tick the checkbox 'Go to Next Page'.

6. Please ensure that COMMAND node is placed after TABLE node (both inside the LOOP node).

Now every page will show only one line from the internal table alongwith header and footer.

Regards,

Jayesh