on 11-26-2013 9:17 AM
Dear All ,
I am new to Adobe forms .I have created one form which has Header , Body and Footer sub forms . I would Appreciate if you could provide me guidance to achieve the following :-
1. Repeat the set (Header, Body and Footer ) for New customer with New Page .
2. Footer Sub form will always comes when body subforms is finished and will comes on the bottom of th.e page.
3 Body should display table which can flow to the next page depending on the records . I.e. Dynamic .
Regards
Naval
Helo Naval,
Hope this solution will meet your requirement.
1.Create a subform A.
2.In subform create the layout as you wanted to display on the printed form(paper).
3.You will have the item table where all the line items are collected. eg: LT_DATA.
4.Bind this table LT_DATA to the SUBFORM A binding.
5.We have to take care that this table lt_Data has all the values/data for each line item.
6.Now in the subform binding you have conditional break.Jus code as mentioned in the above reply.
7.Here you will have the form to be displayed on a new page for each customer.
8.Incase you wanted to break the page only on the new customer,then we need to be careful of passing the input table LT_DATA in the same manner.
Reward if found useful.
Regards,
Varun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Naval,
This requirement is possible.But the only issue here is the footer getting displayed only at the bottom of the page. With my solution the footer gets displayed immediatey after a set of data(New customer) is displayed.
If you feel ok to proceed this can be achieved in the following way.
1.Drag the table which consists of data from the Data view on to design view.
2.You will have overflowleader(header),data.
3.So here we dont have footer, to add the footer, right click on the table and insert the rows below.
4.Now go to the data row inside the table. place the cursor on the data row. From palettes-->object-->Pagination.Here you find the conditional break with the "Edit" Button.
5.Click on the edit buton.On the right top corner you will find the plus button.Click on that.
6.Now click on ‘Insert Sample Expression’ button, which is to left of the box.
7.You will find the data--> and names of the fileds.Choose the field for which you want the records to be displayed on different pages.When you choose the field a default script comes in the message box.
8.Later choose the radio button "Before", To "Top of Next Page" and Trailer as "Footer" and Leader as "Header".
9.Save the changes.
10.Activate and execute.
11.You will see the ouput.
Please let me know if the above solution is ok for you.
Reward if found helpful.
Regards,
Varun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.