This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
31
Web Server - Ask For Help / Re: GPF on this line - loc:gridjson JSONClass - SOLVED
« on: August 16, 2023, 09:11:56 AM »
Hi,
Thanks to user group, found the problem
Multi DLL app, had "part of multi dll' unchecked in the EXE on jfiles extension
Johan
Thanks to user group, found the problem
Multi DLL app, had "part of multi dll' unchecked in the EXE on jfiles extension
Johan
32
Web Server - Ask For Help / GPF on this line - loc:gridjson JSONClass
« on: August 16, 2023, 07:08:39 AM »
Hi,
NT 14.01
Latest jfiles and all the rest,
various procedures , all of them throws a GPF on this decleration.
loc:gridjson JSONClass
Any ideas?
thanks
Johan
NT 14.01
Latest jfiles and all the rest,
various procedures , all of them throws a GPF on this decleration.
loc:gridjson JSONClass
Any ideas?
thanks
Johan
33
Web Server - Ask For Help / Add new client using button from UpdateForm
« on: August 06, 2023, 09:47:06 AM »
Hi,
Update FORM on order table has a button that add a new client via UpdateClient FORM , a popup.
In the GotFocusBack routine I need to retrieve the client_id of the newly added client.
I query "_refresh_" for "saved", but the are no table values in the value queue,
so currently am setting a p_web.SSV('tmp_client_isn') in the save embed on the ClientUpdate form and then use that on FocusBack.
Is there a better alternative?
Below the value queue
[TVCWEB] Value Q Name=_action_ Value=1
[TVCWEB] Value Q Name=_ajax_ Value=1
[TVCWEB] Value Q Name=_calledfrom_ Value=weborder
[TVCWEB] Value Q Name=_equate_ Value=btn_add_new_client
[TVCWEB] Value Q Name=_event_ Value=gainfocus
[TVCWEB] Value Q Name=_from_ Value=updvendorclient
[TVCWEB] Value Q Name=_parentpage Value=
[TVCWEB] Value Q Name=_popup_ Value=0
[TVCWEB] Value Q Name=_refresh_ Value=saved
[TVCWEB] Value Q Name=_rid_ Value=
[TVCWEB] Value Q Name=viewstate Value=
[TVCWEB] Value Q Name=weborder_form:inited_ Value=1
thanks
Johan
Update FORM on order table has a button that add a new client via UpdateClient FORM , a popup.
In the GotFocusBack routine I need to retrieve the client_id of the newly added client.
I query "_refresh_" for "saved", but the are no table values in the value queue,
so currently am setting a p_web.SSV('tmp_client_isn') in the save embed on the ClientUpdate form and then use that on FocusBack.
Is there a better alternative?
Below the value queue
[TVCWEB] Value Q Name=_action_ Value=1
[TVCWEB] Value Q Name=_ajax_ Value=1
[TVCWEB] Value Q Name=_calledfrom_ Value=weborder
[TVCWEB] Value Q Name=_equate_ Value=btn_add_new_client
[TVCWEB] Value Q Name=_event_ Value=gainfocus
[TVCWEB] Value Q Name=_from_ Value=updvendorclient
[TVCWEB] Value Q Name=_parentpage Value=
[TVCWEB] Value Q Name=_popup_ Value=0
[TVCWEB] Value Q Name=_refresh_ Value=saved
[TVCWEB] Value Q Name=_rid_ Value=
[TVCWEB] Value Q Name=viewstate Value=
[TVCWEB] Value Q Name=weborder_form:inited_ Value=1
thanks
Johan
34
Web Server - Ask For Help / Easily see procedure template settings?
« on: August 05, 2023, 11:54:16 PM »
Hi,
Is there a way to easily see template settings of procedures without going into each procedure.
IOW either select certain template settings to display on app window
or how do I track down the values in the TXA?
eg.
I want to make sure that all my NT procedures are secure with the the following settings set correctly
"Only server if"
and
"user must be logged in" = true
So would be useful to have a list of all procedures security settings.
thanks
Johan
Is there a way to easily see template settings of procedures without going into each procedure.
IOW either select certain template settings to display on app window
or how do I track down the values in the TXA?
eg.
I want to make sure that all my NT procedures are secure with the the following settings set correctly
"Only server if"
and
"user must be logged in" = true
So would be useful to have a list of all procedures security settings.
thanks
Johan
35
Web Server - Ask For Help / Re: No update buttons on Lookup Browse?
« on: August 05, 2023, 03:08:23 AM »
Hi Bruce,
Thanks
With all the things I've learned this week, seems as if Popup mode is the way to go with just about everything.
Lots of advantages
thanks
Johan
Thanks
With all the things I've learned this week, seems as if Popup mode is the way to go with just about everything.
Lots of advantages
thanks
Johan
36
Web Server - Ask For Help / Passing P_web as parameter - expense?
« on: August 04, 2023, 02:55:04 AM »
Hi,
I have a logging/trace/debug procedure that logs events in my web app.
One of the parameters currently is p_web.
Just trying to figure out,
if I have lots of calls to the debug log procedure with the p_web as a parameter,
but only to return without action because global debug is switched off.
How bad is this?
thanks
Johan
I have a logging/trace/debug procedure that logs events in my web app.
One of the parameters currently is p_web.
Just trying to figure out,
if I have lots of calls to the debug log procedure with the p_web as a parameter,
but only to return without action because global debug is switched off.
How bad is this?
thanks
Johan
37
Web Server - Ask For Help / Re: Webapps setting - popups SORTED
« on: August 03, 2023, 08:41:50 AM »
Hi,
Was cleared up by Bruce in the User group
The global setting over rides the local setting.
Default - use the local setting
YES - popups are ON overides local
NO - Popups are OFF overides local
So my setting was on NO thinking the local will override the global setting, but the Global wins in this case
Johan
Was cleared up by Bruce in the User group
The global setting over rides the local setting.
Default - use the local setting
YES - popups are ON overides local
NO - Popups are OFF overides local
So my setting was on NO thinking the local will override the global setting, but the Global wins in this case
Johan
38
Web Server - Ask For Help / Webapps setting - popups
« on: August 03, 2023, 03:04:39 AM »
Hi,
Currently looking at using POPUPS in my app,
I could not get them to work until I changed the setting in "Nettalk global extension" - "webapps" - "Popups"
Now they work, but work everywhere and everything opens a popup,
even if I specify to open as "Link"
thanks
Johan
Currently looking at using POPUPS in my app,
I could not get them to work until I changed the setting in "Nettalk global extension" - "webapps" - "Popups"
Now they work, but work everywhere and everything opens a popup,
even if I specify to open as "Link"
thanks
Johan
39
Web Server - Ask For Help / No update buttons on Lookup Browse?
« on: August 02, 2023, 04:51:28 AM »
Hi,
I am sure there is a reason the Form Update buttons do not appear on a Browse in Lookup mode.
Is there a way to enable it, or is there good reason for it to be off?
thanks
Johan
I am sure there is a reason the Form Update buttons do not appear on a Browse in Lookup mode.
Is there a way to enable it, or is there good reason for it to be off?
thanks
Johan
40
Web Server - Ask For Help / What determines the next procedure on the save btn?
« on: July 23, 2023, 10:54:26 AM »
Hi,
I realise it does not go back, but something is changing the next procedure for the Save button depending on the actions.
I have a Form A,
calls Form B with Insert.
On form B it has browse for FileC and UpdateForm for FileC
A calls B, and all OK if I click save on B, it returns to A.
however when on B and I add something to C, and click save on B, it goes to updateC and not to A.
For some reason the Save button on Form B is switching from going back to A but goes to UpdateC instead.
Where do I check what procedure is called on SAVE and what can influence it?
"URL on save" is not completed and "On save, when inserting" is set to "Return to Browse"
thanks
Johan
I realise it does not go back, but something is changing the next procedure for the Save button depending on the actions.
I have a Form A,
calls Form B with Insert.
On form B it has browse for FileC and UpdateForm for FileC
A calls B, and all OK if I click save on B, it returns to A.
however when on B and I add something to C, and click save on B, it goes to updateC and not to A.
For some reason the Save button on Form B is switching from going back to A but goes to UpdateC instead.
Where do I check what procedure is called on SAVE and what can influence it?
"URL on save" is not completed and "On save, when inserting" is set to "Return to Browse"
thanks
Johan
41
Web Server - Ask For Help / Re: Error - GEN: Unknown Variable '%WebAppsUseSecwin'
« on: July 20, 2023, 12:12:42 AM »
Hi Bruce,
Yes, it's OK now,
Your reply made me realise what the problem could be.
"I'm glad you like to hide the interesting parts... like the fact that the report is perhaps not in the same app as the web server procedure?"
it was a report in one of my common dll's shared with desktop system.
after I added the p_web parameter, to use it correctly from NTWS, caused the problem.
This was the first procedure in this DLL to be NTWS enabled with the added p_web parameter.
So it was not in that list of NTWS apps.
And adding the required NTWS pdf extension created the template errors.
The error description about secwin through me off the scent of the reason for problem
thanks
Johan
Yes, it's OK now,
Your reply made me realise what the problem could be.
"I'm glad you like to hide the interesting parts... like the fact that the report is perhaps not in the same app as the web server procedure?"
it was a report in one of my common dll's shared with desktop system.
after I added the p_web parameter, to use it correctly from NTWS, caused the problem.
This was the first procedure in this DLL to be NTWS enabled with the added p_web parameter.
So it was not in that list of NTWS apps.
And adding the required NTWS pdf extension created the template errors.
The error description about secwin through me off the scent of the reason for problem
thanks
Johan
42
Web Server - Ask For Help / Re: Confirm Form Resubmission - minimize?
« on: July 19, 2023, 10:39:13 PM »
Hi Jane
thanks,
I do realise this is a browser UI thing, however the users will be external and I wont be able to dictate settings to them.
I was just looking for some advice/tips on anything that my code could influence to minimize the Form Resubmission.
Or if there are ways of doing something in NTWS that could be triggering the Form Resubmission, but there might be an alternative way of doing it.
Still learning on how it all fits together.
Some days with NTWS I "get it" and other days I am at the bottom of the steep learning curve.
Looks as if Posts and Gets play a big part,
This was interesting.
https://www.w3schools.com/tags/ref_httpmethods.asp
But I have also had situations where I only see GETS in the log, and I have the message.
I do notice that as I use other websites, some have it more than others,
so really just trying to eliminate any occurrences that my coding might trigger.
Will spend some time on this later in the project
thanks
Johan
thanks,
I do realise this is a browser UI thing, however the users will be external and I wont be able to dictate settings to them.
I was just looking for some advice/tips on anything that my code could influence to minimize the Form Resubmission.
Or if there are ways of doing something in NTWS that could be triggering the Form Resubmission, but there might be an alternative way of doing it.
Still learning on how it all fits together.
Some days with NTWS I "get it" and other days I am at the bottom of the steep learning curve.
Looks as if Posts and Gets play a big part,
This was interesting.
https://www.w3schools.com/tags/ref_httpmethods.asp
But I have also had situations where I only see GETS in the log, and I have the message.
I do notice that as I use other websites, some have it more than others,
so really just trying to eliminate any occurrences that my coding might trigger.
Will spend some time on this later in the project
thanks
Johan
43
Web Server - Ask For Help / Re: Error - GEN: Unknown Variable '%WebAppsUseSecwin'
« on: July 19, 2023, 12:15:48 AM »
Hi Bruce
thanks,
after adding the Report to one of my common dll's, did not realize the app was not in this list.
Johan
thanks,
after adding the Report to one of my common dll's, did not realize the app was not in this list.
Johan
44
Web Server - Ask For Help / Re: Internal error with server
« on: July 18, 2023, 10:17:00 AM »
Hi Thys,
Perhaps a leftover running thread somewhere or similar?
I had a NT mail procedure that I only closed the thread on the success, but forgot that I did not close the procedure on the errortrap routine for debugging and even if you close the app the process still runs.
cheers,
Johan
Perhaps a leftover running thread somewhere or similar?
I had a NT mail procedure that I only closed the thread on the success, but forgot that I did not close the procedure on the errortrap routine for debugging and even if you close the app the process still runs.
cheers,
Johan
45
Web Server - Ask For Help / Re: Error - GEN: Unknown Variable '%WebAppsUseSecwin'
« on: July 18, 2023, 08:33:05 AM »Sorry, forgot to add,
the app compiles fine.
But my PDF report not working, so not sure if it's because of this.
Seems as if the procedure is not executing correctly , the trace commands in the procedure Init, is not executing.
regards
Johan