` Print a "no records" band (Chris Cordes ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

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 November 21, 2024, 3:53 am
This article has been viewed 35304 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: