Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member

This is a very small example on how to put a conditional break in Adobe forms. As the name defines, conditional break means, Break when some condition is satisfied.

Let consider this example. For an employee table which is to be printed in the form, there is a requirement, that a page should contain only details for one employee describing one para graph after his details.

For this we can have a table created in interface for the employee, containing emp id, emp name, emp status, etc, etc....

We will use this table in the layout of the form. Then select the data section of Data view for the table, goto object and under that select pagination. There we will have conditional break and and edit button against it. Click on the EDIT button, we will get a script editor, In that click plus button and then click Insert Sample Expression button and then select Emp ID. A statement will automatically come, which will say something like Data[-1].empid ne data.empid . Then select Before radio button for BREAK and for TO select Top of Next Page. Then say OK. Activate and execute the form.

You will see for every emp id the details pertaining to it are on a new page og the pdf rendered when executed.

Please add anything else as comments on to this.

You all are welcome for your replies.

Rgds,

Nitin.

4 Comments
Labels in this area