` 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: Print a "no records" band
2000-06-07 -- Chris Cordes
 
>I read somewhere that you could create a detail band that said Sorry >No Records Found. And then print that detail from the TakeNoRecords >method. BUT that can't happen because at that time, the report isn't >opened yet. >I tried > OPEN(SELF.Report) > SELF.Report{PROP:Preview} = SELF.PreviewQueue.Filename > print(rpt:Norecords) > Endpage(report) > >But it doesn't work. I'd like this to show up in the preview as well. > >Any suggestions? > >Chris C., Cordes Software, Maywood, New Joisey >CW, and C5EE Hello Again and thanks to everyone - I found the answer! and I was close on my first try - go figure. At the TakeNoRecords just this before the parent call OPEN(SELF.Report) SELF.Report{PROP:Preview} = SELF.PreviewQueue.Filename print(rpt:NoPagesDet) SELF.Response = RequestCompleted RETURN Works like a charm!


Today is April 27, 2024, 1:31 pm
This article has been viewed 35110 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: