NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: dmoyer on November 17, 2011, 03:10:40 PM
-
I just starting to add some reports to a new NTWS project. When I get no records, the browser just displays the raw script instead of the message. It just looks like this in the browser:
<script>alert('Bummer! No Records');top.close();</script>
Any ideas?
Thanks,
David
-
David
In your Nettalk extension to report procedure with SV PDF Generator (assuming you are using SVPDF)
there is a No records source drop list.
In the print to PDF examples is a DisplayNoRecordsMessage Netwebsource procedure which if you import it into your procedure you can select in the drop list.
Within that NetWebSource you can set whatever message you like with the benefit that it will apply to all reports.
-
Yup, I did that. Actually, the code that had been working as a message now just displays the raw text. I decided to use the popup instead of source procedure and that works. Not sure what happened to the original source behavior.
Thanks,
David