` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please add your comments to this article. Please note that you must provide both a name and a valid email address in order for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: Conditional Page Breaks in reports
1999-12-14 -- Carl Broll
 
Assuming that you have a group break for the department, you can set or clear PROP:PageAfter of the group footer. For example: SETTARGET(Report) IF UserWantsDepartmentsSeparated ?DepartmentBreakFooter{PROP:PageAfter} = True ELSE ?DepartmentBreakFooter{PROP:PageAfter} = False END SETTARGET Actually, if you leave the group footer's "Page after" checkbox unchecked in the AppGen report formatter you should only need: SETTARGET(Report) IF UserWantsDepartmentsSeparated ?DepartmentBreakFooter{PROP:PageAfter} = True END SETTARGET Steve Gallafant adds: My personal preference for this code (not nearly as readable but definitely nifty) is Report$DepartmentBreakFooter{PROP:PageAfter} = UserWantsDepartmentsSeparated assuming UserWantsDepartmentsSeparated will evaluate correctly for the PROP assignment.


Today is November 23, 2024, 2:21 am
This article has been viewed 35218 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: