Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease 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!
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, 7:17 am This article has been viewed 35305 times.
|
|