` 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 Print Preview in Clarion templates
2000-01-21 -- Maarten Veenstra
 
Hmm... It's a bit more difficult in C5-legacy since there *is* an embed before the preview statement but not after: ! Start of "After Opening Report" ! [Priority 5000] ! End of "After Opening Report" report{Prop:Preview} = PrintPreviewImage OF Event:Timer LOOP RecordsPerCycle TIMES ! Start of "Before Lookups" ! [Priority 5000] ! End of "Before Lookups" So, I suggest that you enter OMIT('!_UseCondPrev_') in the "After Opening Report" - embed and in the "Before Lookups" - embed you put: --- Embed-Code starts here ! ----> !_UseCondPrev_ IF MyCondition report{Prop:Preview} = PrintPreviewImage END OF Event:Timer LOOP RecordsPerCycle TIMES --- Embed-Code stops here ! ----< As you see I've copied a part of the template code because it is OMITted out this way.


Today is May 8, 2024, 5:01 am
This article has been viewed 35113 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: