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.
1
Web Server - Ask For Help / Need to delete CLW and OBJ and recompile for changes to take effect
« on: April 15, 2024, 03:24:05 PM »
Hello
Why do I need to delete the clw and the obj for some changes to take effect?
for example in a browse I had two columns which were Edit in Place
Although I deleted the checkbox tick for edit in place and recompiled, the fields were still EIP active,
and the changes did not take effect until the deletion of the CLW and OBJ and a recompile.
I have the same issue when changing column header names, and button renaming
Thanks
Richard
C 11.1.13855EE
NT 14.20
Why do I need to delete the clw and the obj for some changes to take effect?
for example in a browse I had two columns which were Edit in Place
Although I deleted the checkbox tick for edit in place and recompiled, the fields were still EIP active,
and the changes did not take effect until the deletion of the CLW and OBJ and a recompile.
I have the same issue when changing column header names, and button renaming
Thanks
Richard
C 11.1.13855EE
NT 14.20
2
Web Server - Ask For Help / Including on Report the total count of records displayed
« on: April 03, 2024, 07:41:07 PM »
Hi
I have a report where I am totalling the number of records being displayed using loc:Count+=1
A stop statement into the Serverside code returns a total number correctly both as loc:Count and as p_web.GSV('loc:Count')
My problem is getting the count value to display in the Header of the report.
Ive tried in WindowManager OpenReport Procedure after Parent Call SetTarget(report)
and in PrimeReportOptions when run in web mode...
loctotal = p_web.GSV('loc:Count')
where loc:Total is a long N_4
But both return 0 in the report
What do I need to do , please?
Thanks
Richard
NT 14.20
I have a report where I am totalling the number of records being displayed using loc:Count+=1
A stop statement into the Serverside code returns a total number correctly both as loc:Count and as p_web.GSV('loc:Count')
My problem is getting the count value to display in the Header of the report.
Ive tried in WindowManager OpenReport Procedure after Parent Call SetTarget(report)
and in PrimeReportOptions when run in web mode...
loctotal = p_web.GSV('loc:Count')
where loc:Total is a long N_4
But both return 0 in the report
What do I need to do , please?
Thanks
Richard
NT 14.20
3
Web Server - Ask For Help / Freezing when applying security to buttons
« on: March 28, 2024, 01:23:10 AM »
Using NT 14.20
I want to hide the <delete> and <change> buttons on Forms and Browses by User security level.
On the Security Tab of the button , Im changing "default" to YES and adding 100 as the security level,
compile and run...
On the Browse for example scrolling by using "next" the Browse freezes and greys out.
Returning to "default" restores normal function.
Can you check this please Bruce?
Cheers
Richard
I want to hide the <delete> and <change> buttons on Forms and Browses by User security level.
On the Security Tab of the button , Im changing "default" to YES and adding 100 as the security level,
compile and run...
On the Browse for example scrolling by using "next" the Browse freezes and greys out.
Returning to "default" restores normal function.
Can you check this please Bruce?
Cheers
Richard
4
Web Server - Ask For Help / Using String Theory "StartsWith" in a report
« on: March 17, 2024, 12:33:50 PM »
I have a report of Product names
Using st.StartsWith Im trying to exclude from the report those names starting with a value set in a local variable(loc:Value) on the report window
So the local variable is Office
and the Product Name Im wanting to exclude is OfficeSupplies
The Code I am using does not allow me to apply the search to PRO:Name
I have included in the Server Side code
Set(Product)
loop
st.SetValue(p_web.GSV(' loc:value'))
IF st.StartsWith(p_web.GSV('loc:value')) = True THEN CYCLE END
How to please?
Thanks
Richard
NT14.19
Using st.StartsWith Im trying to exclude from the report those names starting with a value set in a local variable(loc:Value) on the report window
So the local variable is Office
and the Product Name Im wanting to exclude is OfficeSupplies
The Code I am using does not allow me to apply the search to PRO:Name
I have included in the Server Side code
Set(Product)
loop
st.SetValue(p_web.GSV(' loc:value'))
IF st.StartsWith(p_web.GSV('loc:value')) = True THEN CYCLE END
How to please?
Thanks
Richard
NT14.19
5
Web Server - Ask For Help / Update LineItem option in Accounts example
« on: February 23, 2024, 09:59:33 PM »
Hi
In the Update lineitem General Tab
There is the option "On Save. when Inserting to either "Return to Browse" or "Insert Another"
I want to provide a check box session value option to the user, to either "Return to Browse" or "Insert Another"
I cannot find the right spot in the embeditor
Nothing appears to stand out in PostInsert
Thanks
Richard
NT 14.18
In the Update lineitem General Tab
There is the option "On Save. when Inserting to either "Return to Browse" or "Insert Another"
I want to provide a check box session value option to the user, to either "Return to Browse" or "Insert Another"
I cannot find the right spot in the embeditor
Nothing appears to stand out in PostInsert
Thanks
Richard
NT 14.18
6
Web Server - Ask For Help / Issues emulating the Accounts example 31 and FileDownload example
« on: February 21, 2024, 01:46:30 PM »
Hi
Using NT 14.18 and NT 14.16
Copied in to an app from the Accounts example(31) the Invoices and lineitems Browses and updates etc and updated DCT
Table relationship confirmed
The feature I like is when the user clicks anywhere on the invoice field, the lineitem browse changes the view to those records for that Invoice due to the table relationship
In my App Ive set the lineitems browse on the Right side of page.
My problem is that when I click on my apps Invoice list, instead of changing the display in the Lineitems browse, the Update Invoice form opens.
The Update Invoice also has Browselineitems included.
I note a fleeting change to the Lineitem browse display just prior to the Update window opening.
I have a similar issue with the FileDownload example when imported into this app
It serves the document ok but opens the update document window as well
Neither example display these issues when run from their own app
What setting am I missing please?
Thanks
regards,
Richard
Using NT 14.18 and NT 14.16
Copied in to an app from the Accounts example(31) the Invoices and lineitems Browses and updates etc and updated DCT
Table relationship confirmed
The feature I like is when the user clicks anywhere on the invoice field, the lineitem browse changes the view to those records for that Invoice due to the table relationship
In my App Ive set the lineitems browse on the Right side of page.
My problem is that when I click on my apps Invoice list, instead of changing the display in the Lineitems browse, the Update Invoice form opens.
The Update Invoice also has Browselineitems included.
I note a fleeting change to the Lineitem browse display just prior to the Update window opening.
I have a similar issue with the FileDownload example when imported into this app
It serves the document ok but opens the update document window as well
Neither example display these issues when run from their own app
What setting am I missing please?
Thanks
regards,
Richard
7
Web Server - Ask For Help / Creating CSV need first row to have the names of the fields
« on: February 01, 2024, 02:12:31 AM »
Hi,
Im sequentially copying tps records to a CSV file by date
ExpCSV:Label1 = LOG:NAME
ExpCSV:Label2 = loclogin
ExpCSV:Label3 = FORMAT(LOG:Datein,@D6)
ExpCSV:Label4 = FORMAT(LOG:timeIn,@T4)
I need the first row to have the name of the corresponding column ie Name ID Datein TimeIn etc
?? How to please.
Thanks
Richard
NT 14.16
Im sequentially copying tps records to a CSV file by date
ExpCSV:Label1 = LOG:NAME
ExpCSV:Label2 = loclogin
ExpCSV:Label3 = FORMAT(LOG:Datein,@D6)
ExpCSV:Label4 = FORMAT(LOG:timeIn,@T4)
I need the first row to have the name of the corresponding column ie Name ID Datein TimeIn etc
?? How to please.
Thanks
Richard
NT 14.16
8
Web Server - Ask For Help / Antimalware Service Executable
« on: January 29, 2024, 02:47:38 PM »
HI,
I appreciate that the subject is not specifically NT related but....
Im running Amazon Micro EC2 Servers for clients online hosting.
and by default Microsoft defender and antimalware Service Executable (ASExe ) are running
Task manager shows the memory usage at 81% and 96.8 MB for the antimalware exe
Research reports that the ASExe has a known memory leak and as a result, periodically, I need to reboot the servers to recover memory.
While I can disable defender I cannot either delete or disable ASExe
Ive tried to "end task" from Task Manager but that command is denied.
Is there an easy simple way to rid myself of this problem?
Aside, its refreshing to realise that the Leakage often reported here and assumed to be the result of NT apps may in fact be caused by the default windows settings.
Cheers
Richard
I appreciate that the subject is not specifically NT related but....
Im running Amazon Micro EC2 Servers for clients online hosting.
and by default Microsoft defender and antimalware Service Executable (ASExe ) are running
Task manager shows the memory usage at 81% and 96.8 MB for the antimalware exe
Research reports that the ASExe has a known memory leak and as a result, periodically, I need to reboot the servers to recover memory.
While I can disable defender I cannot either delete or disable ASExe
Ive tried to "end task" from Task Manager but that command is denied.
Is there an easy simple way to rid myself of this problem?
Aside, its refreshing to realise that the Leakage often reported here and assumed to be the result of NT apps may in fact be caused by the default windows settings.
Cheers
Richard
9
Web Server - Ask For Help / Refreshing Maps(76) to new latitude and longitude
« on: December 28, 2023, 05:18:07 PM »
With Alberto's help I now have the Maps 76 General Map doing what i want
ie
manually entering coordinates in latitude and longitude fields and from the GoTo button, displaying the marker on the map at those coordinates.
I now want to , using a new button, loop through a data table line by filtered line, populate the two latitude and longitude fields and use the GoTo code to display the marker at the new position
Using the Serverside code on this new button I cannot get the correct code to achieve this...
Thanks
Happy new Year
Richard
ie
manually entering coordinates in latitude and longitude fields and from the GoTo button, displaying the marker on the map at those coordinates.
I now want to , using a new button, loop through a data table line by filtered line, populate the two latitude and longitude fields and use the GoTo code to display the marker at the new position
Using the Serverside code on this new button I cannot get the correct code to achieve this...
Thanks
Happy new Year
Richard
10
Web Server - Ask For Help / Compile error in NetMaps example
« on: December 16, 2023, 06:32:23 PM »
Hello
In the NetMaps Example,
I have the FreeImage.dll installed in the app folder and have in the Global Extensions "activate Clarion FreeImage for the application"
I also have in Draw "Activate DrawImage" ticked ON
On Compile I get 7 errors all the same but in different CLW files-
line 1 Error(3): cif$fileopen cfilmgCt.inc The system cannot find the path specified.
(In Maps.clw
Maps_BC.clw
Maps_BC0.clw
Maps001.clw
Maps002.clw
Maps003.clw
Maps004.clw
All Right at the top)
Thanks
Richard
C11.1.13855
NT14.13
In the NetMaps Example,
I have the FreeImage.dll installed in the app folder and have in the Global Extensions "activate Clarion FreeImage for the application"
I also have in Draw "Activate DrawImage" ticked ON
On Compile I get 7 errors all the same but in different CLW files-
line 1 Error(3): cif$fileopen cfilmgCt.inc The system cannot find the path specified.
(In Maps.clw
Maps_BC.clw
Maps_BC0.clw
Maps001.clw
Maps002.clw
Maps003.clw
Maps004.clw
All Right at the top)
Thanks
Richard
C11.1.13855
NT14.13
11
Web Server - Ask For Help / NT Example Maps(76) question
« on: December 09, 2023, 09:32:07 PM »
Hi all,
I am wanting to deploy the GeneralMap from the example in my app displaying the latitude and longitude from a data table
I can do that but I also want to display the coloured Marker corresponding to the coordinates in the gm:latitude and gm:longitude fields.
When the coordinates change I want the marker to assume the new position.
the Marker is appearing to control the coordinates , whereas I want the coordinates to control the marker
Thanks
Regards,
Richard
NT14.13
I am wanting to deploy the GeneralMap from the example in my app displaying the latitude and longitude from a data table
I can do that but I also want to display the coloured Marker corresponding to the coordinates in the gm:latitude and gm:longitude fields.
When the coordinates change I want the marker to assume the new position.
the Marker is appearing to control the coordinates , whereas I want the coordinates to control the marker
Thanks
Regards,
Richard
NT14.13
12
Web Server - Ask For Help / Sending different lEmailMessages from EmailSendControlTemplate
« on: October 31, 2023, 05:18:24 PM »
Hi all,
Using the EmailSendControlTemplate
I want to send two different email messages from the one SEND command-
one to lEmailTo and the other to lemailBCC
At the moment both recipients are getting the same message
Ive tried variations of
IF lEmailBCC NOT = ''
but the issue is that BOTH are Not = ''
Thanks
Richard
NT 14.11
Using the EmailSendControlTemplate
I want to send two different email messages from the one SEND command-
one to lEmailTo and the other to lemailBCC
At the moment both recipients are getting the same message
Ive tried variations of
IF lEmailBCC NOT = ''
but the issue is that BOTH are Not = ''
Thanks
Richard
NT 14.11
13
Web Server - Ask For Help / How to programatically change or set the Default Page
« on: October 24, 2023, 03:57:14 PM »
Hi all
I want the user to be able to set which page in their NT application is the default or opening page
s_web._SitesQueue.Defaults.DefaultPage = 'IndexPage'
s_web._SitesQueue.Defaults.DefaultPage = 'LoginForm'
I note the setup happens in the INIT and presumably, before session values are set.
Is there a way ?
Thanks
Richard
NT 14.09
I want the user to be able to set which page in their NT application is the default or opening page
s_web._SitesQueue.Defaults.DefaultPage = 'IndexPage'
s_web._SitesQueue.Defaults.DefaultPage = 'LoginForm'
I note the setup happens in the INIT and presumably, before session values are set.
Is there a way ?
Thanks
Richard
NT 14.09
14
Web Server - Ask For Help / NT 14.06 Update of Web Folder returned in Deployment Mode
« on: October 07, 2023, 10:26:19 PM »
Hi Bruce
I have Upgraded from NT 14.05 to 14.06 and also the latest ST
I now have the "Update of web folder required Ctl F5 Server on 14.06 but web folder on 14.05"
Ctl F5 does not resolve
the nebweb JS file has 14.05 in the first line which I have changed and saved to 14.06 but that does not solve it.
However compiling in Development Mode and running there is no message
I have narrowed it down to the option "Combine Common Files " when in Deployment mode
In Deployment -
Set at False - no message
Set as True - get message
Cheers
Richard
I have Upgraded from NT 14.05 to 14.06 and also the latest ST
I now have the "Update of web folder required Ctl F5 Server on 14.06 but web folder on 14.05"
Ctl F5 does not resolve
the nebweb JS file has 14.05 in the first line which I have changed and saved to 14.06 but that does not solve it.
However compiling in Development Mode and running there is no message
I have narrowed it down to the option "Combine Common Files " when in Deployment mode
In Deployment -
Set at False - no message
Set as True - get message
Cheers
Richard
15
E-Mail - Ask For Help / Could this be the issue when trying to send emails?
« on: September 28, 2023, 11:44:28 PM »
In DebugView-
Could this be the issue when trying to send emails?
[NetDLL] [3] NetTalk: RunTimeLoadProcedures_TLS. Warning. Could not load ECEC functions (ecec.dll). API Error = 126
ecec.dll is in the deployment folder
Richard
Could this be the issue when trying to send emails?
[NetDLL] [3] NetTalk: RunTimeLoadProcedures_TLS. Warning. Could not load ECEC functions (ecec.dll). API Error = 126
ecec.dll is in the deployment folder
Richard