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: NT12.04 Icons missing on buttons
« on: January 15, 2021, 01:59:39 AM »
Hi Niels,
Bruce picked it up at last nights WebInar.
Bruce said he would do a 12.05 release to fix it.
Download 12.05 that should correct it.
Regards
Johan de Klerk
Bruce picked it up at last nights WebInar.
Bruce said he would do a 12.05 release to fix it.
Download 12.05 that should correct it.
Regards
Johan de Klerk
32
Web Server - Ask For Help / Re: WebSockets Refresh Question (NetTalk 12)
« on: December 23, 2020, 09:50:07 PM »
Hi Bruce,
Thanks for the reply.
This will create a lot of unnecessary traffic on the webserver, if the webserver is very busy and have a 1000 companies and users are continuously updating data.
Is there a way to make it more clever that it knows who to send it to only for that particular company?
What is going to happen for instance:
On the Browse & Form.
If user 1 (Company 1) has a browse/form open with his data and user 2 (Company 2) changes something.
Let's say both companies have a customer number 1
Company 1
Customer Number: 1
Customer Name: Johan
Address: Rustenburg
Company 2
Customer Number: 1
Customer Name: Bruce
Address: Cape Town
user 1 (Company 1) changes the Address for Customer 1 to Pretoria.
Will it interfere with Customer 1 at company 2?
Sorry if I am asking stupid questions.
Regards
Johan de Klerk
Thanks for the reply.
This will create a lot of unnecessary traffic on the webserver, if the webserver is very busy and have a 1000 companies and users are continuously updating data.
Is there a way to make it more clever that it knows who to send it to only for that particular company?
What is going to happen for instance:
On the Browse & Form.
If user 1 (Company 1) has a browse/form open with his data and user 2 (Company 2) changes something.
Let's say both companies have a customer number 1
Company 1
Customer Number: 1
Customer Name: Johan
Address: Rustenburg
Company 2
Customer Number: 1
Customer Name: Bruce
Address: Cape Town
user 1 (Company 1) changes the Address for Customer 1 to Pretoria.
Will it interfere with Customer 1 at company 2?
Sorry if I am asking stupid questions.
Regards
Johan de Klerk
33
Web Server - Ask For Help / WebSockets Refresh Question (NetTalk 12)
« on: December 23, 2020, 01:34:38 AM »
Hi Bruce,
I have one WebServer EXE.
Many companies each with their own Data Files in their own folders under the WebServer folder.
c:\mywebserver\Company1\MyDatafiles.TPS
c:\mywebserver\Company2\MyDatafiles.TPS
c:\mywebserver\Company3\MyDatafiles.TPS
Etc.
When a user logs in I open the data files for the company he is allocated to.
Lets say I have 5 users logged in per company, 10 companies.
That means 50 users are logged in.
On the Browse.
If user 1 (Company 1) changes something and the WebSockets fire up to refresh the Browse.
Will it send the Refresh to all 50 users or only to the 5 users that are currently working on Company 1?
On the Form.
If user 2 (Company 2) changes something and the WebSockets fire up to refresh the Form.
Will it send the Refresh to all 50 users or only to the 5 users that are currently working on Company 2?
Regards
Johan de Klerk
I have one WebServer EXE.
Many companies each with their own Data Files in their own folders under the WebServer folder.
c:\mywebserver\Company1\MyDatafiles.TPS
c:\mywebserver\Company2\MyDatafiles.TPS
c:\mywebserver\Company3\MyDatafiles.TPS
Etc.
When a user logs in I open the data files for the company he is allocated to.
Lets say I have 5 users logged in per company, 10 companies.
That means 50 users are logged in.
On the Browse.
If user 1 (Company 1) changes something and the WebSockets fire up to refresh the Browse.
Will it send the Refresh to all 50 users or only to the 5 users that are currently working on Company 1?
On the Form.
If user 2 (Company 2) changes something and the WebSockets fire up to refresh the Form.
Will it send the Refresh to all 50 users or only to the 5 users that are currently working on Company 2?
Regards
Johan de Klerk
34
Web Server - Ask For Help / Re: Webinar on developing PWA apps with NT 11
« on: December 22, 2020, 06:07:17 AM »
Maybe this can help: https://www.capesoft.com/docs/NetTalk12/NetTalkMBuild.Htm#PWA
35
Web Server - Ask For Help / Re: Ver 11.42 also breaks "Remember Me" on Login Screen
« on: August 31, 2020, 02:10:50 AM »
Thanks.
Will download and test as soon as you have 11.43 up.
Will download and test as soon as you have 11.43 up.
36
Web Server - Ask For Help / Re: Errors with 11.42 and EIP Check Box on Browse
« on: August 31, 2020, 02:09:50 AM »
Thanks.
Will download and test as soon as you have 11.43 up.
Will download and test as soon as you have 11.43 up.
37
Web Server - Ask For Help / Re: Errors with 11.42 and EIP Check Box on Browse
« on: August 27, 2020, 07:40:56 AM »
Hi Jane,
Just Y and N gives other errors.
Bruce just now said in the NetTalk WebInar that he know about the problem and are investigating it.
Will be fixed in 11.43.
Johan de Klerk
Just Y and N gives other errors.
Bruce just now said in the NetTalk WebInar that he know about the problem and are investigating it.
Will be fixed in 11.43.
Johan de Klerk
38
Web Server - Ask For Help / Ver 11.42 also breaks "Remember Me" on Login Screen
« on: August 27, 2020, 01:45:32 AM »
Run the example in C:\Clarion10\accessory\Examples\Capesoft\NetTalk\Web Server\LoginBeforeFrame (7)\web7.app
Try clicking the "Remember Me".
It does not work.
I think this is related to my previous post: Errors with 11.42 and EIP Check Box on Browse
https://www.nettalkcentral.com/forum/index.php?topic=8659.0
Try clicking the "Remember Me".
It does not work.
I think this is related to my previous post: Errors with 11.42 and EIP Check Box on Browse
https://www.nettalkcentral.com/forum/index.php?topic=8659.0
39
Web Server - Ask For Help / Re: Errors with 11.42 and EIP Check Box on Browse
« on: August 26, 2020, 11:41:36 PM »
It seems it does not like to the CheckBox to be Y (True) or N (False) anymore.
If the CheckBox is 1 (True) or 0 (False) then it does not give a compile error.
If the CheckBox is 1 (True) or 0 (False) then it does not give a compile error.
40
Web Server - Ask For Help / Re: Errors with 11.42 and EIP Check Box on Browse
« on: August 26, 2020, 06:49:39 AM »
Template Code in 11.41 (C:\Clarion10\accessory\template\win\netweb.tpw)
%gPacket.append(p_web.CreateInput('checkbox',p_web.nocolon('%nFieldEquate'),clip(%FieldTrue),p_web.combine(p_web.site.style.browseCheck,%FormFieldClass,loc:fieldclass),loc:extra,%extra,,loc:javascript,'inp'&p_web.crc32('%Procedure_%nField'&%kfld),%FormFieldTooltip,'inp'&p_web.crc32('%Procedure_%nField'&%kfld),,%datado) & p_web.CRLF)
%gPacket.append(p_web.CreateInput('checkbox',p_web.nocolon('%nFieldEquate'),clip(%FieldTrue),p_web.combine(p_web.site.style.browseCheck,%FormFieldClass,loc:fieldclass),loc:extra & ' disabled',%extra,,loc:javascript,'inp'&p_web.crc32('%Procedure_%nField'&%kfld),%FormFieldTooltip,'inp'&p_web.crc32('%Procedure_%nField'&%kfld),,%datado) & p_web.CRLF)
Template Code in 11.42 (C:\Clarion10\accessory\template\win\netweb.tpw)
%gPacket.append(p_web.CreateInput('checkbox',p_web.nocolon('%nFieldEquate'),1,p_web.combine(p_web.site.style.browseCheck,%FormFieldClass,loc:fieldclass),loc:extra,%extra,,loc:javascript,'inp'&p_web.crc32('%Procedure_%nField'&%kfld),%FormFieldTooltip,'inp'&p_web.crc32('%Procedure_%nField'&%kfld),,%datado) & p_web.CRLF)
%gPacket.append(p_web.CreateInput('checkbox',p_web.nocolon('%nFieldEquate'),1,p_web.combine(p_web.site.style.browseCheck,%FormFieldClass,loc:fieldclass),loc:extra & ' disabled',%extra,,loc:javascript,'inp'&p_web.crc32('%Procedure_%nField'&%kfld),%FormFieldTooltip,'inp'&p_web.crc32('%Procedure_%nField'&%kfld),,%datado) & p_web.CRLF)
========================================================================================
Generated Code in 11.41
packet.append(p_web.CreateInput('checkbox',p_web.nocolon('CompSetup:Paid'),clip('Y'),p_web.combine(p_web.site.style.browseCheck,,loc:fieldclass),loc:extra,,,loc:javascript,'inp'&p_web.crc32('BrowseCompanySetup_CompSetup:Paid'&CompSetup:Guid),,'inp'&p_web.crc32('BrowseCompanySetup_CompSetup:Paid'&CompSetup:Guid),,'eip') & p_web.CRLF)
packet.append(p_web.CreateInput('checkbox',p_web.nocolon('CompSetup:Paid'),clip('Y'),p_web.combine(p_web.site.style.browseCheck,,loc:fieldclass),loc:extra & ' disabled',,,loc:javascript,'inp'&p_web.crc32('BrowseCompanySetup_CompSetup:Paid'&CompSetup:Guid),,'inp'&p_web.crc32('BrowseCompanySetup_CompSetup:Paid'&CompSetup:Guid),,'eip') & p_web.CRLF)
Generated Code in 11.42
packet.append(p_web.CreateInput('checkbox',p_web.nocolon('CompSetup:Paid'),1,p_web.combine(p_web.site.style.browseCheck,,loc:fieldclass),loc:extra,' data-true="'Y'" data-false="'N'"',,loc:javascript,'inp'&p_web.crc32('BrowseCompanySetup_CompSetup:Paid'&CompSetup:Guid),,'inp'&p_web.crc32('BrowseCompanySetup_CompSetup:Paid'&CompSetup:Guid),,'eip') & p_web.CRLF)
packet.append(p_web.CreateInput('checkbox',p_web.nocolon('CompSetup:Paid'),1,p_web.combine(p_web.site.style.browseCheck,,loc:fieldclass),loc:extra & ' disabled',' data-true="'Y'" data-false="'N'"',,loc:javascript,'inp'&p_web.crc32('BrowseCompanySetup_CompSetup:Paid'&CompSetup:Guid),,'inp'&p_web.crc32('BrowseCompanySetup_CompSetup:Paid'&CompSetup:Guid),,'eip') & p_web.CRLF)
.
%gPacket.append(p_web.CreateInput('checkbox',p_web.nocolon('%nFieldEquate'),clip(%FieldTrue),p_web.combine(p_web.site.style.browseCheck,%FormFieldClass,loc:fieldclass),loc:extra,%extra,,loc:javascript,'inp'&p_web.crc32('%Procedure_%nField'&%kfld),%FormFieldTooltip,'inp'&p_web.crc32('%Procedure_%nField'&%kfld),,%datado) & p_web.CRLF)
%gPacket.append(p_web.CreateInput('checkbox',p_web.nocolon('%nFieldEquate'),clip(%FieldTrue),p_web.combine(p_web.site.style.browseCheck,%FormFieldClass,loc:fieldclass),loc:extra & ' disabled',%extra,,loc:javascript,'inp'&p_web.crc32('%Procedure_%nField'&%kfld),%FormFieldTooltip,'inp'&p_web.crc32('%Procedure_%nField'&%kfld),,%datado) & p_web.CRLF)
Template Code in 11.42 (C:\Clarion10\accessory\template\win\netweb.tpw)
%gPacket.append(p_web.CreateInput('checkbox',p_web.nocolon('%nFieldEquate'),1,p_web.combine(p_web.site.style.browseCheck,%FormFieldClass,loc:fieldclass),loc:extra,%extra,,loc:javascript,'inp'&p_web.crc32('%Procedure_%nField'&%kfld),%FormFieldTooltip,'inp'&p_web.crc32('%Procedure_%nField'&%kfld),,%datado) & p_web.CRLF)
%gPacket.append(p_web.CreateInput('checkbox',p_web.nocolon('%nFieldEquate'),1,p_web.combine(p_web.site.style.browseCheck,%FormFieldClass,loc:fieldclass),loc:extra & ' disabled',%extra,,loc:javascript,'inp'&p_web.crc32('%Procedure_%nField'&%kfld),%FormFieldTooltip,'inp'&p_web.crc32('%Procedure_%nField'&%kfld),,%datado) & p_web.CRLF)
========================================================================================
Generated Code in 11.41
packet.append(p_web.CreateInput('checkbox',p_web.nocolon('CompSetup:Paid'),clip('Y'),p_web.combine(p_web.site.style.browseCheck,,loc:fieldclass),loc:extra,,,loc:javascript,'inp'&p_web.crc32('BrowseCompanySetup_CompSetup:Paid'&CompSetup:Guid),,'inp'&p_web.crc32('BrowseCompanySetup_CompSetup:Paid'&CompSetup:Guid),,'eip') & p_web.CRLF)
packet.append(p_web.CreateInput('checkbox',p_web.nocolon('CompSetup:Paid'),clip('Y'),p_web.combine(p_web.site.style.browseCheck,,loc:fieldclass),loc:extra & ' disabled',,,loc:javascript,'inp'&p_web.crc32('BrowseCompanySetup_CompSetup:Paid'&CompSetup:Guid),,'inp'&p_web.crc32('BrowseCompanySetup_CompSetup:Paid'&CompSetup:Guid),,'eip') & p_web.CRLF)
Generated Code in 11.42
packet.append(p_web.CreateInput('checkbox',p_web.nocolon('CompSetup:Paid'),1,p_web.combine(p_web.site.style.browseCheck,,loc:fieldclass),loc:extra,' data-true="'Y'" data-false="'N'"',,loc:javascript,'inp'&p_web.crc32('BrowseCompanySetup_CompSetup:Paid'&CompSetup:Guid),,'inp'&p_web.crc32('BrowseCompanySetup_CompSetup:Paid'&CompSetup:Guid),,'eip') & p_web.CRLF)
packet.append(p_web.CreateInput('checkbox',p_web.nocolon('CompSetup:Paid'),1,p_web.combine(p_web.site.style.browseCheck,,loc:fieldclass),loc:extra & ' disabled',' data-true="'Y'" data-false="'N'"',,loc:javascript,'inp'&p_web.crc32('BrowseCompanySetup_CompSetup:Paid'&CompSetup:Guid),,'inp'&p_web.crc32('BrowseCompanySetup_CompSetup:Paid'&CompSetup:Guid),,'eip') & p_web.CRLF)
.
41
Web Server - Ask For Help / Errors with 11.42 and EIP Check Box on Browse
« on: August 26, 2020, 12:06:46 AM »
Hi Bruce,
I have downloaded and 11.42.
Compiled fine with 11.41.
Compiling my app now gives me errors:
Unknown identifier: Y
Expected: <operator> ) , &= {
On this line:
packet.append(p_web.CreateInput('checkbox',p_web.nocolon('CompSetup:Paid'),1,p_web.combine(p_web.site.style.browseCheck,,loc:fieldclass),loc:extra,' data-true="'Y'" data-false="'N'"',,loc:javascript,'inp'&p_web.crc32('BrowseCompanySetup_CompSetup:Paid'&CompSetup:Guid),,'inp'&p_web.crc32('BrowseCompanySetup_CompSetup:Paid'&CompSetup:Guid),,'eip') & p_web.CRLF)
I have downloaded and 11.42.
Compiled fine with 11.41.
Compiling my app now gives me errors:
Unknown identifier: Y
Expected: <operator> ) , &= {
On this line:
packet.append(p_web.CreateInput('checkbox',p_web.nocolon('CompSetup:Paid'),1,p_web.combine(p_web.site.style.browseCheck,,loc:fieldclass),loc:extra,' data-true="'Y'" data-false="'N'"',,loc:javascript,'inp'&p_web.crc32('BrowseCompanySetup_CompSetup:Paid'&CompSetup:Guid),,'inp'&p_web.crc32('BrowseCompanySetup_CompSetup:Paid'&CompSetup:Guid),,'eip') & p_web.CRLF)
42
Web Server - Ask For Help / Browse with Inline DropDown Button to Select Choices
« on: July 21, 2020, 11:14:22 PM »
Hi Bruce,
Would it be possible to have a InLine Button on a Browse that can be setup that if you click on it to show a DropDown list of choices?
When a choice is clicked from the DropDown to then either execute some code or go to another Form/Browse.
Regards
Johan de Klerk
Would it be possible to have a InLine Button on a Browse that can be setup that if you click on it to show a DropDown list of choices?
When a choice is clicked from the DropDown to then either execute some code or go to another Form/Browse.
Regards
Johan de Klerk
43
Web Server - Ask For Help / Re: NT 11.30 & StringTheory 3.20 Errors Compiling
« on: February 26, 2020, 01:38:44 AM »
Weird.
StringTheory 3.20 was installed and showed in my Global Extensions.
Re-Installed StringTheory 3.20 and all errors gone.
StringTheory 3.20 was installed and showed in my Global Extensions.
Re-Installed StringTheory 3.20 and all errors gone.
44
Web Server - Ask For Help / NT 11.30 & StringTheory 3.20 Errors Compiling
« on: February 26, 2020, 01:31:36 AM »
Hi Bruce,
Updated to NT 11.30 yesterday.
Compiling my app today lots of errors:
1) No matching prototype available - C:\Clarion10\Accessory\LibSrc\Win\StringTheory.clw:228
StringTheory.Append Procedure(string newValue, long pClip = false, <string pSep>)
2) Unknown procedure label - C:\Clarion10\Accessory\LibSrc\Win\StringTheory.clw:230,3
self.Append(newValue,pClip,pSep)
3) Field not found: APPEND - C:\Clarion10\Accessory\LibSrc\Win\StringTheory.clw:230,8
self.Append(newValue,pClip,pSep)
4) Unknown identifier: NEWVALUE - C:\Clarion10\Accessory\LibSrc\Win\StringTheory.clw:236,38
if band(pClip,st:NoBlanks) > 0 and newValue = '' then return.
5) Unknown identifier: PCLIP - C:\Clarion10\Accessory\LibSrc\Win\StringTheory.clw:236,11
if band(pClip,st:NoBlanks) > 0 and newValue = '' then return.
6) Unknown identifier: SELF - C:\Clarion10\Accessory\LibSrc\Win\StringTheory.clw:239,6
if self._DataEnd < 1
and lots more
Regards
Johan de Klerk
Updated to NT 11.30 yesterday.
Compiling my app today lots of errors:
1) No matching prototype available - C:\Clarion10\Accessory\LibSrc\Win\StringTheory.clw:228
StringTheory.Append Procedure(string newValue, long pClip = false, <string pSep>)
2) Unknown procedure label - C:\Clarion10\Accessory\LibSrc\Win\StringTheory.clw:230,3
self.Append(newValue,pClip,pSep)
3) Field not found: APPEND - C:\Clarion10\Accessory\LibSrc\Win\StringTheory.clw:230,8
self.Append(newValue,pClip,pSep)
4) Unknown identifier: NEWVALUE - C:\Clarion10\Accessory\LibSrc\Win\StringTheory.clw:236,38
if band(pClip,st:NoBlanks) > 0 and newValue = '' then return.
5) Unknown identifier: PCLIP - C:\Clarion10\Accessory\LibSrc\Win\StringTheory.clw:236,11
if band(pClip,st:NoBlanks) > 0 and newValue = '' then return.
6) Unknown identifier: SELF - C:\Clarion10\Accessory\LibSrc\Win\StringTheory.clw:239,6
if self._DataEnd < 1
and lots more
Regards
Johan de Klerk
45
Web Server - Ask For Help / Re: Webinar links 266 and 267
« on: February 15, 2020, 11:59:10 PM »
Same here, not working.
Regards
Johan de Klerk
Regards
Johan de Klerk