NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Johan de Klerk on July 26, 2019, 07:15:50 AM
-
Hi,
If you run the attached program the PDF report does not work.
If the Options Form is opened as a Popup then the URL On Save is ignored and PDF report is not displayed.
If the Options Form is not in Popup then the URL On Save is working and the PDF report is displayed.
For what I want to do it must work from Popup Form to Popup Form.
My whole app is Popups.
Does any one have any idea how to make this work please.
I have to demo the app on Monday to a very-very big customer.
Regards
Johan de Klerk
-
Hi Johan,
Firstly - I'm not 100% sure you can go from a popup to another popup via URL on save. That's something I'll look into.
URL on Save is, as the name suggest, a URL.
Secondly you're calling 'MailboxesReportWithOptions' as the URL on Save, but that's a Report procedure. So that will never be a popup. Assuming the popup-to-popup worked, this Save as URL would need to be a Form - and that form could contain the PDF (using the media control demonstrated elsewhere.)
So maybe re-work the example so you are doing a URL on save to a Form, which contains the report - and let's go from there.
Cheers
Bruce
-
Hi Bruce,
I am busy modifying my example app to show how it needs to work.
Will send it to you during the day via Skype.
Would it be possible to look at it today on the WebInar?
Regards
Johan de Klerk
-
Hi Bruce,
As you suggested on the Webinar I have changed my app to not go from the Menu Item to a Popup Form and Action "Insert".
It is now set as "Default" with Action as "Insert".
None of the fields in the Priming tab are primed.
It seems the fields are not being primed if it is selected from a Menu Item.
Put in a debug statement after: ! Start of "Pre Insert After Primes"
The whole "PreInsert Routine" is not run when calling from a Menu Item with Action "Insert" and Form is a "Page".
If I am on the Browse and Click Insert then the fields are primed.
Edit: Please see: https://www.nettalkcentral.com/forum/index.php?topic=8279.0
Clarion 10, NT 11.18.
Regards
Johan de Klerk
-
resolved in
http://www.nettalkcentral.com/forum/index.php?topic=8279.0