NetTalk Central
Toggle navigation
Login
Register
×
Welcome,Guest
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
No Records for Web Report is a Bummer
« previous
next »
Print
Pages: [
1
]
Author
Topic: No Records for Web Report is a Bummer (Read 3072 times)
dmoyer
Newbie
Posts: 21
No Records for Web Report is a Bummer
«
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
Logged
terryd
Hero Member
Posts: 759
Re: No Records for Web Report is a Bummer
«
Reply #1 on:
November 17, 2011, 09:17:39 PM »
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.
Logged
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186
dmoyer
Newbie
Posts: 21
Re: No Records for Web Report is a Bummer
«
Reply #2 on:
November 18, 2011, 08:25:33 AM »
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
Logged
Print
Pages: [
1
]
« previous
next »
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
No Records for Web Report is a Bummer