Installing New SSL Certificate

2018-03-07 Thread Sandor Szatmari via 4D_Tech
Hi there,


I hope this is the correct mailing list to ask this question...


I am trying to install a new SSL certificate for our 4D hosted web site and I 
keep getting the following error; included below.


Has anyone else experience this?


I will followup with details if anyone thinks they may have insight into my 
dilemma.


Thanks in advance!




Error




Failed to set SSL certificate




Error code: 46

Failed to set SSL certificate

component: 'srvr'

task -1, name: 'User Interface'




Error code: 49

SSL internal error : error:0906D06C:PEM routines:PEM_read_bio:no start line

component: 'srvr'

task -1, name: 'User Interface'




Error code: 49

SSL internal error : error:0906D06C:PEM routines:PEM_read_bio:no start line

component: 'srvr'

task -1, name: 'User Interface'




Error code: 49

SSL internal error : error:0906D06C:PEM routines:PEM_read_bio:no start line

component: 'srvr'

task -1, name: 'User Interface'

--


Regards,
Sandor


CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
information from InfoPlus (a service of Bristol Capital, Inc.). It is intended 
only for the addressee and may contain information that is confidential and/or 
otherwise exempt from disclosure under applicable law. If you are not the 
intended recipient or are acting as agent for the intended recipient, any use 
or disclosure of this communication is prohibited. If you have received this 
communication in error, please notify us immediately to arrange for the 
appropriate method of returning or disposing of the communication. If our 
respective Companies have confidentiality provisions in effect, this email and 
the materials contained herein are deemed CONFIDENTIAL and should be treated 
accordingly unless expressly provided otherwise.
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Installing New SSL Certificate

2018-03-07 Thread Sandor Szatmari via 4D_Tech
So of course I got this working right after I sent this email...


For anyone that is curious, when testing the new certificate I simply renamed 
the old certificate with a '~' prefix, leaving in its current directory.  Well, 
4D didn't like this.  It was still seeing the cert and key files.  Simply 
moving the files out of the current directory was enough to let 4D load the SSL 
cert correctly.

Cheers, 
Sandor



Subject:   Installing New SSL Certificate 

Hi there,


I hope this is the correct mailing list to ask this question...


I am trying to install a new SSL certificate for our 4D hosted web site and I 
keep getting the following error; included below.


Has anyone else experience this?


I will followup with details if anyone thinks they may have insight into my 
dilemma.


Thanks in advance!




Error




Failed to set SSL certificate




Error code: 46

Failed to set SSL certificate

component: 'srvr'

task -1, name: 'User Interface'




Error code: 49

SSL internal error : error:0906D06C:PEM routines:PEM_read_bio:no start line

component: 'srvr'

task -1, name: 'User Interface'




Error code: 49

SSL internal error : error:0906D06C:PEM routines:PEM_read_bio:no start line

component: 'srvr'

task -1, name: 'User Interface'




Error code: 49

SSL internal error : error:0906D06C:PEM routines:PEM_read_bio:no start line

component: 'srvr'

task -1, name: 'User Interface'

--


Regards,
Sandor


CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
information from InfoPlus (a service of Bristol Capital, Inc.). It is intended 
only for the addressee and may contain information that is confidential and/or 
otherwise exempt from disclosure under applicable law. If you are not the 
intended recipient or are acting as agent for the intended recipient, any use 
or disclosure of this communication is prohibited. If you have received this 
communication in error, please notify us immediately to arrange for the 
appropriate method of returning or disposing of the communication. If our 
respective Companies have confidentiality provisions in effect, this email and 
the materials contained herein are deemed CONFIDENTIAL and should be treated 
accordingly unless expressly provided otherwise.
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
information from InfoPlus (a service of Bristol Capital, Inc.). It is intended 
only for the addressee and may contain information that is confidential and/or 
otherwise exempt from disclosure under applicable law. If you are not the 
intended recipient or are acting as agent for the intended recipient, any use 
or disclosure of this communication is prohibited. If you have received this 
communication in error, please notify us immediately to arrange for the 
appropriate method of returning or disposing of the communication. If our 
respective Companies have confidentiality provisions in effect, this email and 
the materials contained herein are deemed CONFIDENTIAL and should be treated 
accordingly unless expressly provided otherwise.
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Installing New SSL Certificate

2018-03-07 Thread Sandor Szatmari via 4D_Tech
Yes Tim! This is exactly the issue I was facing.  I managed to figure it out, 
not that gracefully but this would have saved me time.  I appreciate your help!

Sandor



 From:   Timothy Penner via 4D_Tech <4d_tech@lists.4d.com> 
 To:   4D iNug Technical <4d_tech@lists.4d.com> 
 Cc:   Timothy Penner  
 Sent:   3/7/2018 6:18 PM 
 Subject:   RE: Installing New SSL Certificate 

Maybe this tech tip will help? 
 
Tech Tip: Be careful which files you store as PEM next to the structure 
http://kb.4d.com/assetid=77137 
 
-Tim 
 
 
 
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
information from InfoPlus (a service of Bristol Capital, Inc.). It is intended 
only for the addressee and may contain information that is confidential and/or 
otherwise exempt from disclosure under applicable law. If you are not the 
intended recipient or are acting as agent for the intended recipient, any use 
or disclosure of this communication is prohibited. If you have received this 
communication in error, please notify us immediately to arrange for the 
appropriate method of returning or disposing of the communication. If our 
respective Companies have confidentiality provisions in effect, this email and 
the materials contained herein are deemed CONFIDENTIAL and should be treated 
accordingly unless expressly provided otherwise.
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Understanding a Runtime Error message

2018-09-17 Thread Sandor Szatmari via 4D_Tech

I received the following runtime error from 4D server.  The runtime error 
dialog was just sitting on the server screen when I got in.



Text from the runtime error dialog (pressed the copy button)

Error


Invalid argument


Error code: 22
Invalid argument
component: 'POSX'
task -2, name: 'Internal Timer Process'



Looking up 'Error code: 22' I see it is defined as: 'The fields must belong to 
the same table or subtable for a sort or graph.'


But, I don't know how to take this information and trace it back to what caused 
this.


How do I track this down?



Thanks in advance!

Sandor Szatmari


















Senior Software Developer
Bristol Capital Inc. - InfoPlus
201 746 7215
www.infoplusonline.com

CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
information from InfoPlus (a service of Bristol Capital, Inc.). It is intended 
only for the addressee and may contain information that is confidential and/or 
otherwise exempt from disclosure under applicable law. If you are not the 
intended recipient or are acting as agent for the intended recipient, any use 
or disclosure of this communication is prohibited. If you have received this 
communication in error, please notify us immediately to arrange for the 
appropriate method of returning or disposing of the communication. If our 
respective Companies have confidentiality provisions in effect, this email and 
the materials contained herein are deemed CONFIDENTIAL and should be treated 
accordingly unless expressly provided otherwise.
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Understanding a Runtime Error message

2018-09-17 Thread Sandor Szatmari via 4D_Tech
Thanks for the guidance all….  Will include this right off the bat next time.

Mac
Version 15 R5

Sounds like it’s the issue you referenced.  I appreciate it.  How do I a. Look 
up the details for that issue, b. Find these issues on my own?

Again thanks for the trip to school.  :)

Sandor Szatmari

> On Sep 17, 2018, at 15:02, Timothy Penner via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> What version are you using?
> 
> It sounds like the following bug:
> 
> ACI0097564   Unexpected Runtime internal timer error #22 during a Backup.
> 
> This was fixed  in 16 R6 and 16.3
> 
> -Tim
> 
> 
> 
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
information from InfoPlus (a service of Bristol Capital, Inc.). It is intended 
only for the addressee and may contain information that is confidential and/or 
otherwise exempt from disclosure under applicable law. If you are not the 
intended recipient or are acting as agent for the intended recipient, any use 
or disclosure of this communication is prohibited. If you have received this 
communication in error, please notify us immediately to arrange for the 
appropriate method of returning or disposing of the communication. If our 
respective Companies have confidentiality provisions in effect, this email and 
the materials contained herein are deemed CONFIDENTIAL and should be treated 
accordingly unless expressly provided otherwise.

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Understanding a Runtime Error message

2018-09-18 Thread Sandor Szatmari via 4D_Tech
Tim,


Yes, very helpful and greatly appreciated.

Thanks!

Sandor Szatmari


















Senior Software Developer
Bristol Capital Inc. - InfoPlus
201 746 7215
www.infoplusonline.com



 From:   Timothy Penner via 4D_Tech <4d_tech@lists.4d.com> 
 To:   4D iNug Technical <4d_tech@lists.4d.com> 
 Cc:   Timothy Penner  
 Sent:   9/17/2018 9:05 PM 
 Subject:   RE: Understanding a Runtime Error message 

Hello, 
 
> How do I 
>a. Look up the details for that issue, 
 
The details of bug reports are private so you cannot look up the bug details 
yourself. 
If you are a member of the 4D Partner Program you can contact tech support and 
ask for additional details of a particular bug report and they will try to 
obtain additional context for you. 
If you are not a member of the 4D Partner Program than you can contact your 
account/sales rep and get additional details on joining the program. 
 
> b. Find these issues on my own? 
 
As a member of the 4D Partner Program (Silver level and higher), you get access 
to hotfixes and nightly builds, each of these include a list of bug fixes. So 
if you have access to them then you could browse the lists to find the fixed 
issues yourself. However, there is no interface to search (other than find in 
page). On the other hand, 4D Tech Support has access to the database and can 
perform full text searches. 
 
Hope that helps, 
 
-Tim 
 
 
 
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
information from InfoPlus (a service of Bristol Capital, Inc.). It is intended 
only for the addressee and may contain information that is confidential and/or 
otherwise exempt from disclosure under applicable law. If you are not the 
intended recipient or are acting as agent for the intended recipient, any use 
or disclosure of this communication is prohibited. If you have received this 
communication in error, please notify us immediately to arrange for the 
appropriate method of returning or disposing of the communication. If our 
respective Companies have confidentiality provisions in effect, this email and 
the materials contained herein are deemed CONFIDENTIAL and should be treated 
accordingly unless expressly provided otherwise.
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Forms Stop Receiving Certain Events

2018-11-08 Thread Sandor Szatmari via 4D_Tech
Has this ever happened to anyone?  UI Elements on certain forms appear to have 
stopped receiving certain events.  This form and related code that have been 
functioning for many many years.  I was adding an additional page to the form 
when this started happening.  I did not edit or change the code or properties 
on any of the other pages/ui elements.  Any help in tracking down the cause 
would be helpful and greatly appreciated.  I do have backups but I don't want 
to roll back the database because it is an active database where data is added 
every day.  I am under the impression that you cannot roll back the interface 
programming separately from the actual data.  An example is below.





Platform: MacOSX (10.11.6)
4D Version: v15 R5


Here's an example…


A Popup button, has 'On Load', 'On Clicked' and 'On Unload' enabled in the 
property list (i.e. checked off').


The object method for the popup has a case statement for reacting to these 
events. (The rest of the code is removed for brevity)



 
$TheEvent:=Form event 
Case of  
 : ($TheEvent=On Load) 
 
 ALERT("Load") 
 : ($TheEvent=On Clicked) 
   ALERT("Clicked")  
 : ($TheEvent=On Unload) 
   ALERT("Unload")  
End case 


The only alert that is displayed is the unload alert.  


How can I figure out where this the events are being lost/swallowed.


Thanks in advance,
Sandor Szatmari



















Senior Software Developer
Bristol Capital Inc. - InfoPlus
201 746 7215
www.infoplusonline.com

CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
information from InfoPlus (a service of Bristol Capital, Inc.). It is intended 
only for the addressee and may contain information that is confidential and/or 
otherwise exempt from disclosure under applicable law. If you are not the 
intended recipient or are acting as agent for the intended recipient, any use 
or disclosure of this communication is prohibited. If you have received this 
communication in error, please notify us immediately to arrange for the 
appropriate method of returning or disposing of the communication. If our 
respective Companies have confidentiality provisions in effect, this email and 
the materials contained herein are deemed CONFIDENTIAL and should be treated 
accordingly unless expressly provided otherwise.
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Forms Stop Receiving Certain Events

2018-11-09 Thread Sandor Szatmari via 4D_Tech
OK, so it looks like there's some strange bug I ran into.  For some reason most 
of the events for my forms got disabled at the form level.  So, even though 
they were checked off at the element level the form was not registered for 
those events anymore.  I am going to have to go through all the UI elements and 
look though their event handling code to make sure all the correct events are 
registered at the form level.


Has anyone heard of this before?  If anyone knows of a way to best determine 
the previous state of the form event configuration any thoughts would be 
appreciated.

Thanks,
Sandor Szatmari


















Senior Software Developer
Bristol Capital Inc. - InfoPlus
201 746 7215
www.infoplusonline.com



 From:   Sandor Szatmari via 4D_Tech <4d_tech@lists.4d.com> 
 To:   <4d_tech@lists.4d.com> 
 Cc:   Sandor Szatmari  
 Sent:   11/9/2018 12:18 AM 
 Subject:   Forms Stop Receiving Certain Events 

Has this ever happened to anyone?  UI Elements on certain forms appear to have 
stopped receiving certain events.  This form and related code that have been 
functioning for many many years.  I was adding an additional page to the form 
when this started happening.  I did not edit or change the code or properties 
on any of the other pages/ui elements.  Any help in tracking down the cause 
would be helpful and greatly appreciated.  I do have backups but I don't want 
to roll back the database because it is an active database where data is added 
every day.  I am under the impression that you cannot roll back the interface 
programming separately from the actual data.  An example is below.





Platform: MacOSX (10.11.6)
4D Version: v15 R5


Here's an example…


A Popup button, has 'On Load', 'On Clicked' and 'On Unload' enabled in the 
property list (i.e. checked off').


The object method for the popup has a case statement for reacting to these 
events. (The rest of the code is removed for brevity)



 
$TheEvent:=Form event 
Case of  
 : ($TheEvent=On Load) 
 
 ALERT("Load") 
 : ($TheEvent=On Clicked) 
   ALERT("Clicked")  
 : ($TheEvent=On Unload) 
   ALERT("Unload")  
End case 


The only alert that is displayed is the unload alert.  


How can I figure out where this the events are being lost/swallowed.


Thanks in advance,
Sandor Szatmari



















Senior Software Developer
Bristol Capital Inc. - InfoPlus
201 746 7215
www.infoplusonline.com

CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
information from InfoPlus (a service of Bristol Capital, Inc.). It is intended 
only for the addressee and may contain information that is confidential and/or 
otherwise exempt from disclosure under applicable law. If you are not the 
intended recipient or are acting as agent for the intended recipient, any use 
or disclosure of this communication is prohibited. If you have received this 
communication in error, please notify us immediately to arrange for the 
appropriate method of returning or disposing of the communication. If our 
respective Companies have confidentiality provisions in effect, this email and 
the materials contained herein are deemed CONFIDENTIAL and should be treated 
accordingly unless expressly provided otherwise.
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
information from InfoPlus (a service of Bristol Capital, Inc.). It is intended 
only for the addressee and may contain information that is confidential and/or 
otherwise exempt from disclosure under applicable law. If you are not the 
intended recipient or are acting as agent for the intended recipient, any use 
or disclosure of this communication is prohibited. If you have received this 
communication in error, please notify us immediately to arrange for the 
appropriate method of returning or disposing of the communication. If our 
respective Companies have confidentiality provisions in effect, this email and 
the materials contained herein are deemed CONFIDENTIAL and should be treated 
accordingly unless expressly provided otherwise.
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Forms Stop Receiving Certain Events

2018-11-09 Thread Sandor Szatmari via 4D_Tech
I’m glad to learn that.  However, the way our backups are configured I only see 
4BL (the log) and and 4BK (the data) files.  Looks like I need to learn more 
about the backup configuration process.  What is the recommended way to 
configure backups so that I would have access to these individual files?  Or, 
are they accessible individually during the restore process from the 4BK file?  
Also, if there is any good reading on this you could point me too, It’d be 
appreciated.  Thanks for your response, very helpful indeed!

Sandor Szatmari

> On Nov 9, 2018, at 10:08, Chip Scheide <4d_o...@pghrepository.org> wrote:
> 
> depending on what your form method looks like, it does not hurt (much) 
> to simply turn everything on.
> Chip
>> On Fri, 9 Nov 2018 09:24:16 -0500, Sandor Szatmari via 4D_Tech wrote:
>> OK, so it looks like there's some strange bug I ran into.  For some 
>> reason most of the events for my forms got disabled at the form 
>> level.  So, even though they were checked off at the element level 
>> the form was not registered for those events anymore.  I am going to 
>> have to go through all the UI elements and look though their event 
>> handling code to make sure all the correct events are registered at 
>> the form level.
>> 
>> 
>> Has anyone heard of this before?  If anyone knows of a way to best 
>> determine the previous state of the form event configuration any 
>> thoughts would be appreciated.
>> 
>> Thanks,
>> Sandor Szatmari
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> Senior Software Developer
>> Bristol Capital Inc. - InfoPlus
>> 201 746 7215
>> www.infoplusonline.com
>> 
>> 
>> 
>> From:   Sandor Szatmari via 4D_Tech <4d_tech@lists.4d.com> 
>> To:   <4d_tech@lists.4d.com> 
>> Cc:   Sandor Szatmari  
>> Sent:   11/9/2018 12:18 AM 
>> Subject:   Forms Stop Receiving Certain Events 
>> 
>> Has this ever happened to anyone?  UI Elements on certain forms 
>> appear to have stopped receiving certain events.  This form and 
>> related code that have been functioning for many many years.  I was 
>> adding an additional page to the form when this started happening.  I 
>> did not edit or change the code or properties on any of the other 
>> pages/ui elements.  Any help in tracking down the cause would be 
>> helpful and greatly appreciated.  I do have backups but I don't want 
>> to roll back the database because it is an active database where data 
>> is added every day.  I am under the impression that you cannot roll 
>> back the interface programming separately from the actual data.  An 
>> example is below.
>> 
>> 
>> 
>> 
>> 
>> Platform: MacOSX (10.11.6)
>> 4D Version: v15 R5
>> 
>> 
>> Here's an example…
>> 
>> 
>> A Popup button, has 'On Load', 'On Clicked' and 'On Unload' enabled 
>> in the property list (i.e. checked off').
>> 
>> 
>> The object method for the popup has a case statement for reacting to 
>> these events. (The rest of the code is removed for brevity)
>> 
>> 
>> 
>> 
>> $TheEvent:=Form event 
>> Case of  
>> : ($TheEvent=On Load) 
>> 
>> ALERT("Load") 
>> : ($TheEvent=On Clicked) 
>>   ALERT("Clicked")  
>> : ($TheEvent=On Unload) 
>>   ALERT("Unload")  
>> End case 
>> 
>> 
>> The only alert that is displayed is the unload alert.  
>> 
>> 
>> How can I figure out where this the events are being lost/swallowed.
>> 
>> 
>> Thanks in advance,
>> Sandor Szatmari
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> Senior Software Developer
>> Bristol Capital Inc. - InfoPlus
>> 201 746 7215
>> www.infoplusonline.com
>> 
>> CONFIDENTIALITY NOTICE: This email (and any related attachments) 
>> contains information from InfoPlus (a service of Bristol Capital, 
>> Inc.). It is intended only for the addressee and may contain 
>> information that is confidential and/or otherwise exempt from 
>> disclosure under applicable law. If you are not the intended 
>> recipient or are acting as agent for the intended recipient, any use 
>> or disclosure of this communication is prohibited. If you have 
>&

Re: Forms Stop Receiving Certain Events

2018-11-09 Thread Sandor Szatmari via 4D_Tech
Makes sense, thanks again!

Sandor Szatmari

> On Nov 9, 2018, at 10:08, Chip Scheide <4d_o...@pghrepository.org> wrote:
> 
> depending on what your form method looks like, it does not hurt (much) 
> to simply turn everything on.
> Chip
>> On Fri, 9 Nov 2018 09:24:16 -0500, Sandor Szatmari via 4D_Tech wrote:
>> OK, so it looks like there's some strange bug I ran into.  For some 
>> reason most of the events for my forms got disabled at the form 
>> level.  So, even though they were checked off at the element level 
>> the form was not registered for those events anymore.  I am going to 
>> have to go through all the UI elements and look though their event 
>> handling code to make sure all the correct events are registered at 
>> the form level.
>> 
>> 
>> Has anyone heard of this before?  If anyone knows of a way to best 
>> determine the previous state of the form event configuration any 
>> thoughts would be appreciated.
>> 
>> Thanks,
>> Sandor Szatmari
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> Senior Software Developer
>> Bristol Capital Inc. - InfoPlus
>> 201 746 7215
>> www.infoplusonline.com
>> 
>> 
>> 
>> From:   Sandor Szatmari via 4D_Tech <4d_tech@lists.4d.com> 
>> To:   <4d_tech@lists.4d.com> 
>> Cc:   Sandor Szatmari  
>> Sent:   11/9/2018 12:18 AM 
>> Subject:   Forms Stop Receiving Certain Events 
>> 
>> Has this ever happened to anyone?  UI Elements on certain forms 
>> appear to have stopped receiving certain events.  This form and 
>> related code that have been functioning for many many years.  I was 
>> adding an additional page to the form when this started happening.  I 
>> did not edit or change the code or properties on any of the other 
>> pages/ui elements.  Any help in tracking down the cause would be 
>> helpful and greatly appreciated.  I do have backups but I don't want 
>> to roll back the database because it is an active database where data 
>> is added every day.  I am under the impression that you cannot roll 
>> back the interface programming separately from the actual data.  An 
>> example is below.
>> 
>> 
>> 
>> 
>> 
>> Platform: MacOSX (10.11.6)
>> 4D Version: v15 R5
>> 
>> 
>> Here's an example…
>> 
>> 
>> A Popup button, has 'On Load', 'On Clicked' and 'On Unload' enabled 
>> in the property list (i.e. checked off').
>> 
>> 
>> The object method for the popup has a case statement for reacting to 
>> these events. (The rest of the code is removed for brevity)
>> 
>> 
>> 
>> 
>> $TheEvent:=Form event 
>> Case of  
>> : ($TheEvent=On Load) 
>> 
>> ALERT("Load") 
>> : ($TheEvent=On Clicked) 
>>   ALERT("Clicked")  
>> : ($TheEvent=On Unload) 
>>   ALERT("Unload")  
>> End case 
>> 
>> 
>> The only alert that is displayed is the unload alert.  
>> 
>> 
>> How can I figure out where this the events are being lost/swallowed.
>> 
>> 
>> Thanks in advance,
>> Sandor Szatmari
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> Senior Software Developer
>> Bristol Capital Inc. - InfoPlus
>> 201 746 7215
>> www.infoplusonline.com
>> 
>> CONFIDENTIALITY NOTICE: This email (and any related attachments) 
>> contains information from InfoPlus (a service of Bristol Capital, 
>> Inc.). It is intended only for the addressee and may contain 
>> information that is confidential and/or otherwise exempt from 
>> disclosure under applicable law. If you are not the intended 
>> recipient or are acting as agent for the intended recipient, any use 
>> or disclosure of this communication is prohibited. If you have 
>> received this communication in error, please notify us immediately to 
>> arrange for the appropriate method of returning or disposing of the 
>> communication. If our respective Companies have confidentiality 
>> provisions in effect, this email and the materials contained herein 
>> are deemed CONFIDENTIAL and should be treated accordingly unless 
>> expressly provided otherwise.
>> **

Re: Forms Stop Receiving Certain Events

2018-11-11 Thread Sandor Szatmari via 4D_Tech


 From:   Tim Nevels via 4D_Tech <4d_tech@lists.4d.com> 
 To:   <4d_tech@lists.4d.com> 
 Cc:   Tim Nevels  
 Sent:   11/9/2018 11:04 AM 
 Subject:   Re: Forms Stop Receiving Certain Events 

On Nov 9, 2018, at 9:47 AM, Sandor Szatmari wrote:

> I’m glad to learn that.  However, the way our backups are configured I only 
> see 4BL (the log) and and 4BK (the data) files.  Looks like I need to learn 
> more about the backup configuration process.  What is the recommended way to 
> configure backups so that I would have access to these individual files?  Or, 
> are they accessible individually during the restore process from the 4BK 
> file?  Also, if there is any good reading on this you could point me too, 
> It’d be appreciated.  Thanks for your response, very helpful indeed!





I followed the path within the database's preferences and the checkbox for 
"Structure File" is checked off.  However, the only files produced by 4D during 
the backup process are the 4BL and 4BK files.  My only thought is that the 4BK 
file contains the structure file.  We are running v15 R5 but the database 
itself has been around for a very long time;  15+ years.  Perhaps this is 
legacy behavior that is due to database's age/history?


I will try experimenting with a restore on an offline machine.  If I am missing 
the structure file and can't restore that would be a problem.  I seriously 
don't think there's a problem.  We have restored to offline machines for 
testing in the past but that was many software releases ago.


Any




There is a checkbox in Backup -> Configuration called “Structure File”. Check 
that box and it will backup the .4DB file. You might also consider adding to 
the “Attachments” area the .4Dindy file, “Components” folder, “Plugins” folder, 
and “Resources” folder to the backup. That gives you a complete snapshot of 
what it takes to restore a 4D structure file. You need all these pieces.

Tim

*
Tim Nevels
Innovative Solutions
785-749-3444
timnev...@mac.com
*

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
information from InfoPlus (a service of Bristol Capital, Inc.). It is intended 
only for the addressee and may contain information that is confidential and/or 
otherwise exempt from disclosure under applicable law. If you are not the 
intended recipient or are acting as agent for the intended recipient, any use 
or disclosure of this communication is prohibited. If you have received this 
communication in error, please notify us immediately to arrange for the 
appropriate method of returning or disposing of the communication. If our 
respective Companies have confidentiality provisions in effect, this email and 
the materials contained herein are deemed CONFIDENTIAL and should be treated 
accordingly unless expressly provided otherwise.
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Forms Stop Receiving Certain Events

2018-11-11 Thread Sandor Szatmari via 4D_Tech


 From:   Sandor Szatmari  
 To:   4D iNug Technical <4d_tech@lists.4d.com> 
 Cc:   Tim Nevels  
 Sent:   11/11/2018 9:57 AM 
 Subject:   Re: Forms Stop Receiving Certain Events 



 From:   Tim Nevels via 4D_Tech <4d_tech@lists.4d.com> 
 To:   <4d_tech@lists.4d.com> 
 Cc:   Tim Nevels  
 Sent:   11/9/2018 11:04 AM 
 Subject:   Re: Forms Stop Receiving Certain Events 

On Nov 9, 2018, at 9:47 AM, Sandor Szatmari wrote:

> I’m glad to learn that.  However, the way our backups are configured I only 
> see 4BL (the log) and and 4BK (the data) files.  Looks like I need to learn 
> more about the backup configuration process.  What is the recommended way to 
> configure backups so that I would have access to these individual files?  Or, 
> are they accessible individually during the restore process from the 4BK 
> file?  Also, if there is any good reading on this you could point me too, 
> It’d be appreciated.  Thanks for your response, very helpful indeed!








Sorry, forgive the previous errant send... here's the complete post:


I followed the path within the database's preferences and the checkbox for 
"Structure File" is checked off.  However, the only files produced by 4D during 
the backup process are the 4BL and 4BK files.  My only thought is that the 4BK 
file contains the structure file.  We are running v15 R5 but the database 
itself has been around for a very long time;  15+ years.  Perhaps this is 
legacy behavior that is due to database's age/history?

I will try experimenting with a restore on an offline machine.  If I am missing 
the structure file and can't restore that would be a problem.  I seriously 
don't think there's a problem.  We have restored to offline machines for 
testing in the past but that was many software releases ago.

Any thoughts are appreciated.


Sandor Szatmari


















Senior Software Developer
Bristol Capital Inc. - InfoPlus
201 746 7215
www.infoplusonline.com





There is a checkbox in Backup -> Configuration called “Structure File”. Check 
that box and it will backup the .4DB file. You might also consider adding to 
the “Attachments” area the .4Dindy file, “Components” folder, “Plugins” folder, 
and “Resources” folder to the backup. That gives you a complete snapshot of 
what it takes to restore a 4D structure file. You need all these pieces.

Tim

*
Tim Nevels
Innovative Solutions
785-749-3444
timnev...@mac.com
*

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
information from InfoPlus (a service of Bristol Capital, Inc.). It is intended 
only for the addressee and may contain information that is confidential and/or 
otherwise exempt from disclosure under applicable law. If you are not the 
intended recipient or are acting as agent for the intended recipient, any use 
or disclosure of this communication is prohibited. If you have received this 
communication in error, please notify us immediately to arrange for the 
appropriate method of returning or disposing of the communication. If our 
respective Companies have confidentiality provisions in effect, this email and 
the materials contained herein are deemed CONFIDENTIAL and should be treated 
accordingly unless expressly provided otherwise.
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Active4D/ObjectTools with 4D 32-bit

2018-12-10 Thread Sandor Szatmari via 4D_Tech
We still use 32bit.

Sandor Szatmari


















Senior Software Developer
Bristol Capital Inc. - InfoPlus
201 746 7215
www.infoplusonline.com



 From:   Aparajita Fishman via 4D_Tech <4d_tech@lists.4d.com> 
 To:   <4d_tech@lists.4d.com> 
 Cc:   Aparajita Fishman  
 Sent:   12/10/2018 1:55 PM 
 Subject:   Active4D/ObjectTools with 4D 32-bit 

Hi,

Just wondering how many Active4D or ObjectTools users out there *must* use 
32-bit 4D on macOS for the foreseeable future.

I need to know how much longer I need to support 32-bit versions of my plugins 
on macOS.

Many thanks,

- Aparajita


**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
information from InfoPlus (a service of Bristol Capital, Inc.). It is intended 
only for the addressee and may contain information that is confidential and/or 
otherwise exempt from disclosure under applicable law. If you are not the 
intended recipient or are acting as agent for the intended recipient, any use 
or disclosure of this communication is prohibited. If you have received this 
communication in error, please notify us immediately to arrange for the 
appropriate method of returning or disposing of the communication. If our 
respective Companies have confidentiality provisions in effect, this email and 
the materials contained herein are deemed CONFIDENTIAL and should be treated 
accordingly unless expressly provided otherwise.
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

UI Form Updates

2018-12-17 Thread Sandor Szatmari via 4D_Tech
I added a page to an existing form.  I can add and delete rows.  I have + 
button to show the data entry form and a '-' button to display a 'confirm the 
deletion of the selected row' dialog.  However, once the entry form or the 
dialog are dismissed the ListBox in the table does not update to show that the 
new data has been entered or deleted.  If I switch to one of the other tabs in 
form and then switch back, the ListBox reflects the addition or deletion of the 
data.  Thanks for any help you can give.

Sandor Szatmari


















Senior Software Developer
Bristol Capital Inc. - InfoPlus
201 746 7215
www.infoplusonline.com

CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
information from InfoPlus (a service of Bristol Capital, Inc.). It is intended 
only for the addressee and may contain information that is confidential and/or 
otherwise exempt from disclosure under applicable law. If you are not the 
intended recipient or are acting as agent for the intended recipient, any use 
or disclosure of this communication is prohibited. If you have received this 
communication in error, please notify us immediately to arrange for the 
appropriate method of returning or disposing of the communication. If our 
respective Companies have confidentiality provisions in effect, this email and 
the materials contained herein are deemed CONFIDENTIAL and should be treated 
accordingly unless expressly provided otherwise.
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: UI Form Updates

2018-12-18 Thread Sandor Szatmari via 4D_Tech

Chip,


Thanks for your help.  Here is my adaptation of your suggestion.  NOTE: It does 
not work.  :)


Can you please offer some advise on what I am missing here?  Thanks.

 
$TheEvent:=Form event 
Case of  
 : ($TheEvent=On Load) 
   // We should only be enabled for Accounts that are non themselves 
Secondaries 
 OBJECT SET ENABLED(Self->;True) 

 
 : ($TheEvent=On Clicked) 
   // Delete the selected Secondary 
 LISTBOX GET CELL POSITION(SOAPEndpointListBox;$col;$row) 
 If ($row>0) 

 
 CONFIRM("Are you SURE you want to remove the selected Web Service 
Endpoint?";"Remove";"Cancel") 
 If (OK=1) 
 $selectedSOAPEndpoint:=SOAPEndpointNumbers{$row} 

 
 GOTO RECORD([AccountSOAPEndpoints];$selectedSOAPEndpoint) 
 DELETE RECORD([AccountSOAPEndpoints]) 

 
 CREATE SET([AccountSOAPEndpoints];"$TempSet") 
 ALL RECORDS([AccountSOAPEndpoints]) 
 USE SET("$TempSet") 
 CLEAR SET("$TempSet") 

 
 End if  

 
 End if  
End case 
Sandor Szatmari


















Senior Software Developer
Bristol Capital Inc. - InfoPlus
201 746 7215
www.infoplusonline.com



 From:   Chip Scheide <4d_o...@pghrepository.org> 
 To:   4D iNug Technical <4d_tech@lists.4d.com> 
 Cc:   Sandor Szatmari  
 Sent:   12/17/2018 5:19 PM 
 Subject:   Re: UI Form Updates 

you need to update the current selection of records in the selection  
from the table the listbox is displaying. 
ex: 
create set([table];"$Temp") 
use set("Listbox_Selection_Set") 
delete selection([table]) 
difference("$Temp";"Listbox_Selection_Set";"$Temp") 
use set("$Temp") 
clear set("$Temp") 
 
Chip 
 
On Mon, 17 Dec 2018 16:00:33 -0500, Sandor Szatmari via 4D_Tech wrote: 
> I added a page to an existing form.  I can add and delete rows.  I  
> have + button to show the data entry form and a '-' button to display  
> a 'confirm the deletion of the selected row' dialog.  However, once  
> the entry form or the dialog are dismissed the ListBox in the table  
> does not update to show that the new data has been entered or  
> deleted.  If I switch to one of the other tabs in form and then  
> switch back, the ListBox reflects the addition or deletion of the  
> data.  Thanks for any help you can give. 
>  
> Sandor Szatmari 
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
> Senior Software Developer 
> Bristol Capital Inc. - InfoPlus 
> 201 746 7215 
> www.infoplusonline.com 
>  
> CONFIDENTIALITY NOTICE: This email (and any related attachments)  
> contains information from InfoPlus (a service of Bristol Capital,  
> Inc.). It is intended only for the addressee and may contain  
> information that is confidential and/or otherwise exempt from  
> disclosure under applicable law. If you are not the intended  
> recipient or are acting as agent for the intended recipient, any use  
> or disclosure of this communication is prohibited. If you have  
> received this communication in error, please notify us immediately to  
> arrange for the appropriate method of returning or disposing of the  
> communication. If our respective Companies have confidentiality  
> provisions in effect, this email and the materials contained herein  
> are deemed CONFIDENTIAL and should be treated accordingly unless  
> expressly provided otherwise. 
> ** 
> 4D Internet Users Group (4D iNUG) 
> Archive:  http://lists.4d.com/archives.html 
> Options: https://lists.4d.com/mailman/options/4d_tech 
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com 
> ** 
--- 
Gas is for washing parts 
Alcohol is for drinkin' 
Nitromethane is for racing  


CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
information from InfoPlus (a service of Bristol Capital, Inc.). It is intended 
only for the addressee and may contain information that is confidential and/or 
otherwise exempt from disclosure under applicable law. If you are not the 
intended recipient or are acting as agent for the intended recipient, any use 
or disclosure of this communication is prohibited. If you have received this 
communication in error, please notify us immediately to arrange for the 
appropriate method of returning or disposing of the communication. If our 
respective Companies have confidentiality provisions in effect, this email and 
the materials contained herein are deemed CONFIDENTIAL and should be treated 
accordingly unless expressly provided otherwise.
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: UI Form Updates

2018-12-19 Thread Sandor Szatmari via 4D_Tech

Actually, I'm using an array based ListBox, but your comment led me to 
understand how I should apply the underlying concept of what you were getting 
at.
I added this code to the appropriate locations, to reestablish the selection in 
the child table and then propagate that data into the arrays being displayed in 
the ListBox.


QUERY([table];[table]ID=[LinkedTable]ID) 
SELECTION TO 
ARRAY([table];Numbers;[table]EndpointType;Names;[table]EndpointAddress;Addresses)


Now the ListBox updates as desired.

Thanks so much for helping understand what I was missing.


Sandor



 From:   Chip Scheide <4d_o...@pghrepository.org> 
 To:   Sandor Szatmari  
 Cc:   4D iNug Technical <4d_tech@lists.4d.com> 
 Sent:   12/18/2018 4:30 PM 
 Subject:   Re: UI Form Updates 

 
asumming the listbox is a selection listbox there is a set associated  
with the listbox which represents the selected record(s). The listbox  
property is called 'highlight set'. 
 
This set (i am going to call it "Selected_Set") holds all record(s)  
selected by the user. 
So your code is much easier done like this: 
 
 
   // the user has selected at least 1 record 
if Records in set("Selected_Set")>0) 
 
  Create set([AccountSOAPEndpoints];"$Temp")  //holds all currently  
displayed records 
  CONFIRM("Are you SURE you want to remove the selected Web Service  
Endpoint?";"Remove";"Cancel")  
 
  If (OK=1)  
   //places the selected record(s) into the current selection 
    use set("Selected_Set")   
    
   // assuming the records are not locked by another user/process they  
are deleted 
    delete selection([AccountSOAPEndpoints]) 
    
   // this removes the deleted records from the originally displayed  
records 
   // and places the resulting set into "$Temp" 
    difference("$Temp";"Listbox_Selection_Set";"$Temp") 
 
   // this places the originally displayed records, minus the deleted  
ones 
   // into the current selection of [AccountSOAPEndpoints] 
   // this should update the listbox  
    use set("$Temp")    
 
    clear set("$Temp") // clear the set to avoid excess memory usage 
  end if 
end if 
 
 
 
your code would: 
   // create a set with the originally displayed records 
>  CREATE SET([AccountSOAPEndpoints];"$TempSet")  
 
   //retrieve all records into current selection 
>  ALL RECORDS([AccountSOAPEndpoints])  
 
   /replace the current selection (all records) with the originally  
displayed records 
>  USE SET("$TempSet")  
>  CLEAR SET("$TempSet")  
 
 
 
On Tue, 18 Dec 2018 16:06:13 -0500, Sandor Szatmari wrote: 
>  
> Chip, 
>  
>  
> Thanks for your help.  Here is my adaptation of your suggestion.   
> NOTE: It does not work.  :) 
>  
>  
> Can you please offer some advise on what I am missing here?  Thanks. 
>  
>   
> $TheEvent:=Form event  
> Case of   
>  : ($TheEvent=On Load)  
>    // We should only be enabled for Accounts that are non themselves  
> Secondaries  
>  OBJECT SET ENABLED(Self->;True)  
>  
>   
>  : ($TheEvent=On Clicked)  
>    // Delete the selected Secondary  
>  LISTBOX GET CELL POSITION(SOAPEndpointListBox;$col;$row)  
>  If ($row>0)  
>  
>   
>  CONFIRM("Are you SURE you want to remove the selected Web Service  
> Endpoint?";"Remove";"Cancel")  
>  If (OK=1)  
>  $selectedSOAPEndpoint:=SOAPEndpointNumbers{$row}  
>  
>   
>  GOTO RECORD([AccountSOAPEndpoints];$selectedSOAPEndpoint)  
>  DELETE RECORD([AccountSOAPEndpoints])  
>  
>   
>  CREATE SET([AccountSOAPEndpoints];"$TempSet")  
>  ALL RECORDS([AccountSOAPEndpoints])  
>  USE SET("$TempSet")  
>  CLEAR SET("$TempSet")  
>  
>   
>  End if   
>  
>   
>  End if   
> End case  
> Sandor Szatmari 
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
> Senior Software Developer 
> Bristol Capital Inc. - InfoPlus 
> 201 746 7215 
> www.infoplusonline.com 
>  
>  
>  
>  From:   Chip Scheide <4d_o...@pghrepository.org>  
>  To:   4D iNug Technical <4d_tech@lists.4d.com>  
>  Cc:   Sandor Szatmari   
>  Sent:   12/17/2018 5:19 PM  
>  Subject:   Re: UI Form Updates  
>  
> you need to update the current selection of records in the selection   
> from the table the listbox is displaying.  
> ex:  
> create set([table];"$Temp")  
> use set("Listbox_Selection_Set")  
> delete selection([table])  
> difference("$Temp";"Listbox_Selection_Set";"$Temp")  
> use set("$Temp")  
> clear set("$Temp")  
>   
> Chip  
>   
>

Re: UI Form Updates

2018-12-19 Thread Sandor Szatmari via 4D_Tech
Guy,


Thanks for the link.  As I am using an array based ListBox I didn't use this 
code directly, but I appreciate seeing what documentation is out there.

I am grateful for your time.


Thanks,
Sandor Szatmari


















Senior Software Developer
Bristol Capital Inc. - InfoPlus
201 746 7215
www.infoplusonline.com



 From:   Guy Algot  
 To:   4D iNug Technical <4d_tech@lists.4d.com> 
 Cc:   Sandor Szatmari  
 Sent:   12/18/2018 4:57 PM 
 Subject:   Re: UI Form Updates 


Sandor, Check out this KB article ; http://kb.4d.com/assetid=77873




On Dec 17, 2018, at 2:00 PM, Sandor Szatmari via 4D_Tech <4d_tech@lists.4d.com> 
wrote:

I added a page to an existing form.  I can add and delete rows.  I have + 
button to show the data entry form and a '-' button to display a 'confirm the 
deletion of the selected row' dialog.  However, once the entry form or the 
dialog are dismissed the ListBox in the table does not update to show that the 
new data has been entered or deleted.  If I switch to one of the other tabs in 
form and then switch back, the ListBox reflects the addition or deletion of the 
data.  Thanks for any help you can give.

Sandor Szatmari






Later,
Guy


--
Guy Algot, Solutions Specialist
Edmonton, Alberta
(780) 974-8538


hardware, installation, training, support, programming, internet
specializing in 4th Dimension
=-= =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
"Microsoft is a cross between the Borg and the Ferengi. Unfortunately,
they use Borg to do their marketing and Ferengi to do their programming."
    -- Simon Slavin



CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
information from InfoPlus (a service of Bristol Capital, Inc.). It is intended 
only for the addressee and may contain information that is confidential and/or 
otherwise exempt from disclosure under applicable law. If you are not the 
intended recipient or are acting as agent for the intended recipient, any use 
or disclosure of this communication is prohibited. If you have received this 
communication in error, please notify us immediately to arrange for the 
appropriate method of returning or disposing of the communication. If our 
respective Companies have confidentiality provisions in effect, this email and 
the materials contained herein are deemed CONFIDENTIAL and should be treated 
accordingly unless expressly provided otherwise.
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: UI Form Updates

2018-12-19 Thread Sandor Szatmari via 4D_Tech
e?  Thanks. 
>>> 
>>> 
>>> $TheEvent:=Form event  
>>> Case of   
>>> : ($TheEvent=On Load)  
>>>   // We should only be enabled for Accounts that are non themselves  
>>> Secondaries  
>>> OBJECT SET ENABLED(Self->;True)  
>>> 
>>> 
>>> : ($TheEvent=On Clicked)  
>>>   // Delete the selected Secondary  
>>> LISTBOX GET CELL POSITION(SOAPEndpointListBox;$col;$row)  
>>> If ($row>0)  
>>> 
>>> 
>>> CONFIRM("Are you SURE you want to remove the selected Web Service  
>>> Endpoint?";"Remove";"Cancel")  
>>> If (OK=1)  
>>> $selectedSOAPEndpoint:=SOAPEndpointNumbers{$row}  
>>> 
>>> 
>>> GOTO RECORD([AccountSOAPEndpoints];$selectedSOAPEndpoint)  
>>> DELETE RECORD([AccountSOAPEndpoints])  
>>> 
>>> 
>>> CREATE SET([AccountSOAPEndpoints];"$TempSet")  
>>> ALL RECORDS([AccountSOAPEndpoints])  
>>> USE SET("$TempSet")  
>>> CLEAR SET("$TempSet")  
>>> 
>>> 
>>> End if   
>>> 
>>> 
>>> End if   
>>> End case  
>>> Sandor Szatmari 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> Senior Software Developer 
>>> Bristol Capital Inc. - InfoPlus 
>>> 201 746 7215 
>>> www.infoplusonline.com 
>>> 
>>> 
>>> 
>>> From:   Chip Scheide <4d_o...@pghrepository.org>  
>>> To:   4D iNug Technical <4d_tech@lists.4d.com>  
>>> Cc:   Sandor Szatmari   
>>> Sent:   12/17/2018 5:19 PM  
>>> Subject:   Re: UI Form Updates  
>>> 
>>> you need to update the current selection of records in the selection   
>>> from the table the listbox is displaying.  
>>> ex:  
>>> create set([table];"$Temp")  
>>> use set("Listbox_Selection_Set")  
>>> delete selection([table])  
>>> difference("$Temp";"Listbox_Selection_Set";"$Temp")  
>>> use set("$Temp")  
>>> clear set("$Temp")  
>>> 
>>> Chip  
>>> 
>>>> On Mon, 17 Dec 2018 16:00:33 -0500, Sandor Szatmari via 4D_Tech wrote:  
>>>> I added a page to an existing form.  I can add and delete rows.  I   
>>>> have + button to show the data entry form and a '-' button to display   
>>>> a 'confirm the deletion of the selected row' dialog.  However, once   
>>>> the entry form or the dialog are dismissed the ListBox in the table   
>>>> does not update to show that the new data has been entered or   
>>>> deleted.  If I switch to one of the other tabs in form and then   
>>>> switch back, the ListBox reflects the addition or deletion of the   
>>>> data.  Thanks for any help you can give.  
>>>> 
>>>> Sandor Szatmari  
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> Senior Software Developer  
>>>> Bristol Capital Inc. - InfoPlus  
>>>> 201 746 7215  
>>>> www.infoplusonline.com  
>>>> 
>>>> CONFIDENTIALITY NOTICE: This email (and any related attachments)   
>>>> contains information from InfoPlus (a service of Bristol Capital,   
>>>> Inc.). It is intended only for the addressee and may contain   
>>>> information that is confidential and/or otherwise exempt from   
>>>> disclosure under applicable law. If you are not the intended   
>>>> recipient or are acting as agent for the intended recipient, any use   
>>>> or disclosure of this communication is prohibited. If you have   
>>>> received this communication in error, please notify us immediately to   
>>>> arrange for the appropriate method of returning or disposing of the   
>>>> communication. If our respective Companies have confidentiality   
>>>> provisions in effect, this email and the materials contained herein   
>>>> are deemed CONFIDENTIAL and should be treated accordingly unless   
>>>> expressly provided otherwise.  
>>>> ***

4D and Subversion

2019-01-11 Thread Sandor Szatmari via 4D_Tech
Has anyone implemented version control with 4D methods and forms?  I am not 
that experienced with 4D administration so some guidance would be greatly 
appreciated.  I am familiar with Subversion so once I get the files exported I 
can take it from there.


I read this Tech Note: https://kb.4d.com/assetid=76559 and the attached 
documentation.
I also found on GitHub: https://github.com/4D/vc-framework-v14
I also found on GitHub: https://github.com/elutz/vc-framework-v17 




For the 4D Tech Note: (method export only I believe)
1.  I'm running v15R5 would this work for me?
2.  The documentation says install 'CodeExport.4dbase' in the 'Components' 
folder, but I don't have that folder in my database folder hierarchy.  Do I 
just create it?
3.  Would you recommend adding the macro to launch the component at database 
startup?  If this is not done how do you interact with the 'CodeExport' 
component?  What is the advantage to having it start automatically vs. start on 
use.
4.  The documentation talks about interacting with the 'CodeExport' component 
via the 'macros' menu.  I don't see this in the client or the server UI menu 
bars (macOS platform).  Is the macro menu being referred to the one in each 
method editor window?




For the vc-framework: (method and forms export)
1.  I'm running v15R5 would either of these work for me?
2.  Has anyone used this?
3.  Does it work well?




From what I gather the process is going to be as follows:


Install component (may need to create directory)
Reboot server (maybe?)
If not installed in start up method open a method and invoke from macro method
Go to the directory created by the export and add the files to Subversion





Thanks for any help you can offer,Sandor Szatmari


















Senior Software Developer
Bristol Capital Inc. - InfoPlus
201 746 7215
www.infoplusonline.com

CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
information from InfoPlus (a service of Bristol Capital, Inc.). It is intended 
only for the addressee and may contain information that is confidential and/or 
otherwise exempt from disclosure under applicable law. If you are not the 
intended recipient or are acting as agent for the intended recipient, any use 
or disclosure of this communication is prohibited. If you have received this 
communication in error, please notify us immediately to arrange for the 
appropriate method of returning or disposing of the communication. If our 
respective Companies have confidentiality provisions in effect, this email and 
the materials contained herein are deemed CONFIDENTIAL and should be treated 
accordingly unless expressly provided otherwise.
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D and Subversion

2019-01-11 Thread Sandor Szatmari via 4D_Tech
So using Lutz Epperlein’s vc-framework is the same process?


Thanks,
Sandor Szatmari


















Senior Software Developer
Bristol Capital Inc. - InfoPlus
201 746 7215
www.infoplusonline.com



 From:   Tom Benedict  
 To:   4D iNug Technical <4d_tech@lists.4d.com>, Sandor Szatmari 
 
 Sent:   1/11/2019 5:10 PM 
 Subject:   Re: 4D and Subversion 

Hi Sandor, 
 
> >From what I gather the process is going to be as follows: 
> > 
> >Install component (may need to create directory) 
> >Reboot server (maybe?) 
> >If not installed in start up method open a method and invoke from macro 
> >method 
> >Go to the directory created by the export and add the files to Subversion 
>  
 
I think you have it figured out. Once the components are installed, (yes, you 
can simply create the folder) they should work ‘automatically’. The new macros 
should appear in the method editor window. The export should happen 
automatically each time you save a method. 
 
Lutz Epperlein’s vc-framework includes import, which you may find useful if you 
are doing distributed development or need to branch. 
 
Tom Benedict

CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
information from InfoPlus (a service of Bristol Capital, Inc.). It is intended 
only for the addressee and may contain information that is confidential and/or 
otherwise exempt from disclosure under applicable law. If you are not the 
intended recipient or are acting as agent for the intended recipient, any use 
or disclosure of this communication is prohibited. If you have received this 
communication in error, please notify us immediately to arrange for the 
appropriate method of returning or disposing of the communication. If our 
respective Companies have confidentiality provisions in effect, this email and 
the materials contained herein are deemed CONFIDENTIAL and should be treated 
accordingly unless expressly provided otherwise.
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D and Subversion

2019-01-14 Thread Sandor Szatmari via 4D_Tech
Lutz,

Yes, I did read this thread.  It was very helpful in connecting the dots.  One 
thing I am still uncertain of is which version I should use.  I am running 
V15R5.  Should I use vc-framework-v14 or v17?

Sandor

> On Jan 14, 2019, at 03:56, Epperlein, Lutz (agendo) via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> Look at this posting from last week: 
> 
> 
> The other docu you find on GitHub 
> 
> And regarding the import feature: you can't import forms, it is implemented 
> only for methods. But export works for both, methods and forms.
> Another remark: The component is based on 
>  by former 4D employee Josh Fletcher.
> 
> Regards
> Lutz
> 
> 
>> -Original Message-
>> Subject: Re: 4D and Subversion
>> 
>> So using Lutz Epperlein’s vc-framework is the same process?
>> 
>> Thanks,
>> Sandor Szatmari
> 
> --  
> Lutz Epperlein  
> --
> Agendo Gesellschaft für politische Planung mbH
> Köpenicker Str. 9
> 10997 Berlin
> http://www.agendo.de/
> --
> 
> 
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
information from InfoPlus (a service of Bristol Capital, Inc.). It is intended 
only for the addressee and may contain information that is confidential and/or 
otherwise exempt from disclosure under applicable law. If you are not the 
intended recipient or are acting as agent for the intended recipient, any use 
or disclosure of this communication is prohibited. If you have received this 
communication in error, please notify us immediately to arrange for the 
appropriate method of returning or disposing of the communication. If our 
respective Companies have confidentiality provisions in effect, this email and 
the materials contained herein are deemed CONFIDENTIAL and should be treated 
accordingly unless expressly provided otherwise.

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D and Subversion

2019-01-15 Thread Sandor Szatmari via 4D_Tech
Thank you Lutz, this page did not come up in my original search.  

Cheers,
Sandor

> On Jan 14, 2019, at 07:21, Epperlein, Lutz (agendo) via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> For V15 you can try this:
> 
> * with import  or
> * without import it is ok to use the V14 version 
> 
> 
> Regards
> Lutz
> 
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
information from InfoPlus (a service of Bristol Capital, Inc.). It is intended 
only for the addressee and may contain information that is confidential and/or 
otherwise exempt from disclosure under applicable law. If you are not the 
intended recipient or are acting as agent for the intended recipient, any use 
or disclosure of this communication is prohibited. If you have received this 
communication in error, please notify us immediately to arrange for the 
appropriate method of returning or disposing of the communication. If our 
respective Companies have confidentiality provisions in effect, this email and 
the materials contained herein are deemed CONFIDENTIAL and should be treated 
accordingly unless expressly provided otherwise.

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Looping and control flow

2019-03-11 Thread Sandor Szatmari via 4D_Tech
Does 4D have the concept of continue like


while (something)


   if (not interested)
  continue


   // Process what I'm interested in


end while


Sandor Szatmari


















Senior Software Developer
Bristol Capital Inc. - InfoPlus
201 746 7215
www.infoplusonline.com

CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
information from InfoPlus (a service of Bristol Capital, Inc.). It is intended 
only for the addressee and may contain information that is confidential and/or 
otherwise exempt from disclosure under applicable law. If you are not the 
intended recipient or are acting as agent for the intended recipient, any use 
or disclosure of this communication is prohibited. If you have received this 
communication in error, please notify us immediately to arrange for the 
appropriate method of returning or disposing of the communication. If our 
respective Companies have confidentiality provisions in effect, this email and 
the materials contained herein are deemed CONFIDENTIAL and should be treated 
accordingly unless expressly provided otherwise.
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Looping and control flow

2019-03-11 Thread Sandor Szatmari via 4D_Tech

From:   Koen Van Hooreweghe via 4D_Tech <4d_tech@lists.4d.com> 

From the top of my head. What about:

something:=true

while(something)
     if(not interested)
          something:=false
     else
          process
     end if
end while

HTH
Koen


Yes, I considered this.  I was specifically looking for an analog to the 
'continue' directive that is common to many other languages.  C, C++, Java, etc…


I will of course have to do it this way if there is no equivalent… thanks

Sandor Szatmari


















Senior Software Developer
Bristol Capital Inc. - InfoPlus
201 746 7215
www.infoplusonline.com




> Op 11 mrt. 2019, om 19:41 heeft Sandor Szatmari via 4D_Tech 
> <4d_tech@lists.4d.com> het volgende geschreven:
> 
> Does 4D have the concept of continue like
> 
> 
> while (something)
> 
> 
>    if (not interested)
>       continue
> 
> 
>    // Process what I'm interested in
> 
> 
> end while




Compass bvba
Koen Van Hooreweghe
Kloosterstraat 65
9910 Aalter
Belgium
tel +32 495 511.653

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
information from InfoPlus (a service of Bristol Capital, Inc.). It is intended 
only for the addressee and may contain information that is confidential and/or 
otherwise exempt from disclosure under applicable law. If you are not the 
intended recipient or are acting as agent for the intended recipient, any use 
or disclosure of this communication is prohibited. If you have received this 
communication in error, please notify us immediately to arrange for the 
appropriate method of returning or disposing of the communication. If our 
respective Companies have confidentiality provisions in effect, this email and 
the materials contained herein are deemed CONFIDENTIAL and should be treated 
accordingly unless expressly provided otherwise.
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

From where is my form method called?

2019-04-15 Thread Sandor Szatmari via 4D_Tech
I have a form method [MyObject].MyObjectDetail.bValidate


How can I find what form object this method is attached to?


It looks like it's a button validation from the name, but I'm guessing.


Is there a way to reveal the object to which this method is attached?


Thanks,
Sandor Szatmari


















Senior Software Developer
Bristol Capital Inc. - InfoPlus
201 746 7215
www.infoplusonline.com


CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
information from InfoPlus (a service of Bristol Capital, Inc.). It is intended 
only for the addressee and may contain information that is confidential and/or 
otherwise exempt from disclosure under applicable law. If you are not the 
intended recipient or are acting as agent for the intended recipient, any use 
or disclosure of this communication is prohibited. If you have received this 
communication in error, please notify us immediately to arrange for the 
appropriate method of returning or disposing of the communication. If our 
respective Companies have confidentiality provisions in effect, this email and 
the materials contained herein are deemed CONFIDENTIAL and should be treated 
accordingly unless expressly provided otherwise.
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: From where is my form method called?

2019-04-15 Thread Sandor Szatmari via 4D_Tech
OK, so, one of those cases where you need to send the email in order to find 
the solution.


I had to go to page zero of the form to be able to highlight the 'accept' 
button and its method is the bValidate.


But, in general, is there a way to say 'show me the object that calls this 
method?'

Thanks,
Sandor Szatmari


















Senior Software Developer
Bristol Capital Inc. - InfoPlus
201 746 7215
www.infoplusonline.com



 From:   Sandor Szatmari via 4D_Tech <4d_tech@lists.4d.com> 
 To:   <4d_tech@lists.4d.com> 
 Cc:   Sandor Szatmari  
 Sent:   4/15/2019 12:05 PM 
 Subject:   From where is my form method called? 

I have a form method [MyObject].MyObjectDetail.bValidate


How can I find what form object this method is attached to?


It looks like it's a button validation from the name, but I'm guessing.


Is there a way to reveal the object to which this method is attached?


Thanks,
Sandor Szatmari


















Senior Software Developer
Bristol Capital Inc. - InfoPlus
201 746 7215
www.infoplusonline.com


CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
information from InfoPlus (a service of Bristol Capital, Inc.). It is intended 
only for the addressee and may contain information that is confidential and/or 
otherwise exempt from disclosure under applicable law. If you are not the 
intended recipient or are acting as agent for the intended recipient, any use 
or disclosure of this communication is prohibited. If you have received this 
communication in error, please notify us immediately to arrange for the 
appropriate method of returning or disposing of the communication. If our 
respective Companies have confidentiality provisions in effect, this email and 
the materials contained herein are deemed CONFIDENTIAL and should be treated 
accordingly unless expressly provided otherwise.
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
information from InfoPlus (a service of Bristol Capital, Inc.). It is intended 
only for the addressee and may contain information that is confidential and/or 
otherwise exempt from disclosure under applicable law. If you are not the 
intended recipient or are acting as agent for the intended recipient, any use 
or disclosure of this communication is prohibited. If you have received this 
communication in error, please notify us immediately to arrange for the 
appropriate method of returning or disposing of the communication. If our 
respective Companies have confidentiality provisions in effect, this email and 
the materials contained herein are deemed CONFIDENTIAL and should be treated 
accordingly unless expressly provided otherwise.
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: From where is my form method called?

2019-04-15 Thread Sandor Szatmari via 4D_Tech
Thanks for the solutions, much appreciated.

Sandor Szatmari


















Senior Software Developer
Bristol Capital Inc. - InfoPlus
201 746 7215
www.infoplusonline.com



 From:   Douglas von Roeder via 4D_Tech <4d_tech@lists.4d.com> 
 To:   4D iNug Technical <4d_tech@lists.4d.com> 
 Cc:   Douglas von Roeder  
 Sent:   4/15/2019 12:18 PM 
 Subject:   Re: From where is my form method called? 

Sandor:

The object method is in this object:

[MyObject].MyObjectDetail.bValidate

Which is [tablename].formname.objectname.

Off the top of my head, I can think of three ways to find that.

1 - Find in design for object name. When 4D displays the search results,
double click on an entry to open it.
2 - Open the Explorer, go to Forms, open the form, open the palette, change
the selector to switch to “Object names”, click on the dropdown of object
names, and select the name from the list. If you have a multi-page form,
you might have to move from one page to the next to find the page that has
the object on it.
3 - I’m not sure if this will work in this case but 4D has a very handy
feature that allows you to select a method name, a variable, a field, etc.
and then press Crtl-k or Cmd-k to show the “description” or “definition” (I
don’t have 4D running at the moment so I can’t be sure). You can also
highlight a method, variable, etc. and do a right mouse click to accomplish
the same thing.

--
Douglas von Roeder
949-336-2902


On Mon, Apr 15, 2019 at 9:05 AM Sandor Szatmari via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> I have a form method [MyObject].MyObjectDetail.bValidate
>
>
> How can I find what form object this method is attached to?
>
>
> It looks like it's a button validation from the name, but I'm guessing.
>
>
> Is there a way to reveal the object to which this method is attached?
>
>
> Thanks,
> Sandor Szatmari
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Senior Software Developer
> Bristol Capital Inc. - InfoPlus
> 201 746 7215
> www.infoplusonline.com
>
>
> CONFIDENTIALITY NOTICE: This email (and any related attachments) contains
> information from InfoPlus (a service of Bristol Capital, Inc.). It is
> intended only for the addressee and may contain information that is
> confidential and/or otherwise exempt from disclosure under applicable law.
> If you are not the intended recipient or are acting as agent for the
> intended recipient, any use or disclosure of this communication is
> prohibited. If you have received this communication in error, please notify
> us immediately to arrange for the appropriate method of returning or
> disposing of the communication. If our respective Companies have
> confidentiality provisions in effect, this email and the materials
> contained herein are deemed CONFIDENTIAL and should be treated accordingly
> unless expressly provided otherwise.
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
information from InfoPlus (a service of Bristol Capital, Inc.). It is intended 
only for the addressee and may contain information that is confidential and/or 
otherwise exempt from disclosure under applicable law. If you are not the 
intended recipient or are acting as agent for the intended recipient, any use 
or disclosure of this communication is prohibited. If you have received this 
communication in error, please notify us immediately to arrange for the 
appropriate method of returning or disposing of the communication. If our 
respective Companies have confidentiality provisions in effect, this email and 
the materials contained herein are deemed CONFIDENTIAL and should be treated 
accordingly unless expressly provided otherwise.
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: From where is my form method called?

2019-04-15 Thread Sandor Szatmari via 4D_Tech
Thanks, the name was screaming button validation, but I could figure out how to 
select the UI item in the editor until I realized it was screen 0 of the form.

Cheers,
Sandor Szatmari


















Senior Software Developer
Bristol Capital Inc. - InfoPlus
201 746 7215
www.infoplusonline.com



 From:   cjmiller--- via 4D_Tech <4d_tech@lists.4d.com> 
 To:   4D iNug Technical <4d_tech@lists.4d.com> 
 Cc:   "cjmil...@informed-solutions.com"  
 Sent:   4/15/2019 12:21 PM 
 Subject:   Re: From where is my form method called? 

Only through the name you always have a clue based upon name. As it lists form 
first. So you can load the form and check from there 

Regards 
Chuck 

Sent from my iPhone

> On Apr 15, 2019, at 12:18 PM, Sandor Szatmari via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> OK, so, one of those cases where you need to send the email in order to find 
> the solution.
> 
> 
> I had to go to page zero of the form to be able to highlight the 'accept' 
> button and its method is the bValidate.
> 
> 
> But, in general, is there a way to say 'show me the object that calls this 
> method?'
> 
> Thanks,
> Sandor Szatmari
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Senior Software Developer
> Bristol Capital Inc. - InfoPlus
> 201 746 7215
> www.infoplusonline.com
> 
> 
> 
> From:   Sandor Szatmari via 4D_Tech <4d_tech@lists.4d.com> 
> To:   <4d_tech@lists.4d.com> 
> Cc:   Sandor Szatmari  
> Sent:   4/15/2019 12:05 PM 
> Subject:   From where is my form method called? 
> 
> I have a form method [MyObject].MyObjectDetail.bValidate
> 
> 
> How can I find what form object this method is attached to?
> 
> 
> It looks like it's a button validation from the name, but I'm guessing.
> 
> 
> Is there a way to reveal the object to which this method is attached?
> 
> 
> Thanks,
> Sandor Szatmari
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Senior Software Developer
> Bristol Capital Inc. - InfoPlus
> 201 746 7215
> www.infoplusonline.com
> 
> 
> CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
> information from InfoPlus (a service of Bristol Capital, Inc.). It is 
> intended only for the addressee and may contain information that is 
> confidential and/or otherwise exempt from disclosure under applicable law. If 
> you are not the intended recipient or are acting as agent for the intended 
> recipient, any use or disclosure of this communication is prohibited. If you 
> have received this communication in error, please notify us immediately to 
> arrange for the appropriate method of returning or disposing of the 
> communication. If our respective Companies have confidentiality provisions in 
> effect, this email and the materials contained herein are deemed CONFIDENTIAL 
> and should be treated accordingly unless expressly provided otherwise.
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
> 
> CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
> information from InfoPlus (a service of Bristol Capital, Inc.). It is 
> intended only for the addressee and may contain information that is 
> confidential and/or otherwise exempt from disclosure under applicable law. If 
> you are not the intended recipient or are acting as agent for the intended 
> recipient, any use or disclosure of this communication is prohibited. If you 
> have received this communication in error, please notify us immediately to 
> arrange for the appropriate method of returning or disposing of the 
> communication. If our respective Companies have confidentiality provisions in 
> effect, this email and the materials contained herein are deemed CONFIDENTIAL 
> and should be treated accordingly unless expressly provided otherwise.
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tec

To generate events or not, that is the question

2019-04-15 Thread Sandor Szatmari via 4D_Tech
So, now that I pinned down how the trigger the exact code segment I want, I am 
down to solving the actual problem


Let me describe… there are two tables Orders and Subscriptions related as 
follows:


   An order can have a related subscription record, making it a subscription…


   Orders -> has form OrderDetail


   Subscriptions  -> has form SubscriptionDetail
   SubscriptionDetail.textField -> Event On Data change update 
[Subscriptions]prop1 if data is valid


The problem is that an event (On Data Change) is fired when accessing the 
subscriptions form directly and not fired when accessing it indirectly.


   Path 1: Direct path to SubscriptionDetail form:
  • Edit an existing Subscription (SubscriptionDetail)
  • Change SubscriptionDetail.textField
  • The On Data change event fires, code executes


   Path 2: Indirect path to SubscriptionDetail form through OrderDetails:
  • Create a new order (OrderDetails)
  • While in OrderDetails make it a subscription, SubscriptionDetails is 
displayed
  • Now in SubscriptionDetails
  • Edit SubscriptionDetail.textField the On Data change does not appear 
fire,
 or the wrong form is receiving it, or some scenario I can't envision… 
etc.


Can anyone shed light on why the event does not appear to fire when editing a 
form arrived at through another form?  

Sandor Szatmari


















Senior Software Developer
Bristol Capital Inc. - InfoPlus
201 746 7215
www.infoplusonline.com

CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
information from InfoPlus (a service of Bristol Capital, Inc.). It is intended 
only for the addressee and may contain information that is confidential and/or 
otherwise exempt from disclosure under applicable law. If you are not the 
intended recipient or are acting as agent for the intended recipient, any use 
or disclosure of this communication is prohibited. If you have received this 
communication in error, please notify us immediately to arrange for the 
appropriate method of returning or disposing of the communication. If our 
respective Companies have confidentiality provisions in effect, this email and 
the materials contained herein are deemed CONFIDENTIAL and should be treated 
accordingly unless expressly provided otherwise.
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: From where is my form method called?

2019-04-15 Thread Sandor Szatmari via 4D_Tech
Thanks Kirk!

Sandor Szatmari


















Senior Software Developer
Bristol Capital Inc. - InfoPlus
201 746 7215
www.infoplusonline.com



 From:   Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> 
 To:   4D iNug Technical <4d_tech@lists.4d.com> 
 Cc:   Kirk Brooks  
 Sent:   4/15/2019 2:01 PM 
 Subject:   Re: From where is my form method called? 

Sandor,
You can open the form in the editor. At the top of the property list is a
popup menu. It lists all the objects on the current page of the form. You
can choose the object name from the popup and it will be selected. If there
are a lot of pages you will have to go through them one at a time. Be sure
to check page 0.

On Mon, Apr 15, 2019 at 9:05 AM Sandor Szatmari via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> I have a form method [MyObject].MyObjectDetail.bValidate
>
>
> How can I find what form object this method is attached to?
>
>
> It looks like it's a button validation from the name, but I'm guessing.
>
>
> Is there a way to reveal the object to which this method is attached?
>
>
> Thanks,
> Sandor Szatmari
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Senior Software Developer
> Bristol Capital Inc. - InfoPlus
> 201 746 7215
> www.infoplusonline.com
>
>
> CONFIDENTIALITY NOTICE: This email (and any related attachments) contains
> information from InfoPlus (a service of Bristol Capital, Inc.). It is
> intended only for the addressee and may contain information that is
> confidential and/or otherwise exempt from disclosure under applicable law.
> If you are not the intended recipient or are acting as agent for the
> intended recipient, any use or disclosure of this communication is
> prohibited. If you have received this communication in error, please notify
> us immediately to arrange for the appropriate method of returning or
> disposing of the communication. If our respective Companies have
> confidentiality provisions in effect, this email and the materials
> contained herein are deemed CONFIDENTIAL and should be treated accordingly
> unless expressly provided otherwise.
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
Kirk Brooks
San Francisco, CA
===

What can be said, can be said clearly,
and what you can’t say, you should shut up about

*Wittgenstein and the Computer *
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
information from InfoPlus (a service of Bristol Capital, Inc.). It is intended 
only for the addressee and may contain information that is confidential and/or 
otherwise exempt from disclosure under applicable law. If you are not the 
intended recipient or are acting as agent for the intended recipient, any use 
or disclosure of this communication is prohibited. If you have received this 
communication in error, please notify us immediately to arrange for the 
appropriate method of returning or disposing of the communication. If our 
respective Companies have confidentiality provisions in effect, this email and 
the materials contained herein are deemed CONFIDENTIAL and should be treated 
accordingly unless expressly provided otherwise.
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: From where is my form method called?

2019-04-15 Thread Sandor Szatmari via 4D_Tech
Yes, thanks, very helpful!

Sandor Szatmari

> On Apr 15, 2019, at 16:30, Jody Bevan via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Looks like you found it now. When you have many objects on a form, the way to 
> have 4D find the object, and select it is as follows:
> 
> 1. Click on the form window or form.
> 2. This brings forward the Property Listing dialog.
> 3. At the top of this dialog is a popup. 
> 4. Click on this popup and it will show you a listing of:
>- all the objects on page zero
>- all the objects on the page you are on. 
> 
>** be warned that only the objects that are in the views that you have 
> indicated as showing. 
>- Views are controlled by the ‘pages’ icon beside the form page 
> navigator.
> 5. When you find the object you are looking for in the popup, select it. Then 
> you can look on the form for the object that is highlighted.
> 
> Hope this helps.
> 
> Jody Bevan
> 
> 
>> On Apr 15, 2019, at 10:05 AM, Sandor Szatmari via 4D_Tech 
>> <4d_tech@lists.4d.com> wrote:
>> 
>> I have a form method [MyObject].MyObjectDetail.bValidate
>> 
>> 
>> How can I find what form object this method is attached to?
>> 
>> 
>> It looks like it's a button validation from the name, but I'm guessing.
>> 
>> 
>> Is there a way to reveal the object to which this method is attached?
>> 
>> 
>> Thanks,
>> Sandor Szatmari
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> Senior Software Developer
>> Bristol Capital Inc. - InfoPlus
>> 201 746 7215
>> www.infoplusonline.com
>> 
>> 
>> CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
>> information from InfoPlus (a service of Bristol Capital, Inc.). It is 
>> intended only for the addressee and may contain information that is 
>> confidential and/or otherwise exempt from disclosure under applicable law. 
>> If you are not the intended recipient or are acting as agent for the 
>> intended recipient, any use or disclosure of this communication is 
>> prohibited. If you have received this communication in error, please notify 
>> us immediately to arrange for the appropriate method of returning or 
>> disposing of the communication. If our respective Companies have 
>> confidentiality provisions in effect, this email and the materials contained 
>> herein are deemed CONFIDENTIAL and should be treated accordingly unless 
>> expressly provided otherwise.
>> **
>> 4D Internet Users Group (4D iNUG)
>> Archive:  http://lists.4d.com/archives.html
>> Options: https://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> **
> 
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
information from InfoPlus (a service of Bristol Capital, Inc.). It is intended 
only for the addressee and may contain information that is confidential and/or 
otherwise exempt from disclosure under applicable law. If you are not the 
intended recipient or are acting as agent for the intended recipient, any use 
or disclosure of this communication is prohibited. If you have received this 
communication in error, please notify us immediately to arrange for the 
appropriate method of returning or disposing of the communication. If our 
respective Companies have confidentiality provisions in effect, this email and 
the materials contained herein are deemed CONFIDENTIAL and should be treated 
accordingly unless expressly provided otherwise.

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: To generate events or not, that is the question

2019-04-15 Thread Sandor Szatmari via 4D_Tech
Chip,


Thanks for you suggestions, I don't understand exactly how they help me yet, I 
may need to read/think about it more.  


In the mean time… let me clarify the context in which the events/non-event 
occurs maybe this will help


When creating a new subscription ADD RECORD is used to display the 
SubscriptionDetails form


When editing a subscription MODIFY RECORD is used  to display the 
SubscriptionDetails form


These are being called from within the event handle of a button that exists in 
the OrderDetails page.


Hope this information is helpful.


Sandor Szatmari


















Senior Software Developer
Bristol Capital Inc. - InfoPlus
201 746 7215
www.infoplusonline.com



 From:   Chip Scheide <4d_o...@pghrepository.org> 
 To:   4D iNug Technical <4d_tech@lists.4d.com> 
 Cc:   Sandor Szatmari  
 Sent:   4/15/2019 2:52 PM 
 Subject:   Re: To generate events or not, that is the question 

 
Sandor, 
if I understand correctly, 
you are on the parent record entry form ([orders]) 
depending on how the [subscription] information is displayed may depend  
on how to get the code to run. 
 
1st - place the code that needs to be run into new separate project  
method, so that it can be called from more then one place and do the  
exact same thing. 
 
possible situations: 
- the [subscription] data is displayed directly (a field displayed on  
the [order] entry form. 
  -- call that new method (above) from both/all places (object method)  
the [subscription] field data is/can be changed; and make sure that: 
     --- the 'On Data Change' form event is turned ON for the  
[subscription] object. 
     --- at some point after the code executes you save the  
[subscription] record - this does not have to be immediately, but could  
be done in parent [order] entry form's Ferm method during 'On validate'. 
 
- the [subscription] data is displayed in an editable subform (not a  
widget), which is a listing of the [order] related record(s), including  
[subscription]. 
  -- in this case you want to place a call to the (above) new method in  
the form method for the listing form that is being used, or in the  
[subscription] data field's object method on that same listing form.  
same things to make sure of as above (marked with ---) 
 
- the [subscription] data is displayed in a listbox. In this case you  
need to find the code that is managing the listbox (probably in the  
object method of the listbox) and add the (above) new method call  
there.  again same things to be sure of as above (marked with ---) 
 
hope that is not too confusing, and that it helps 
:) 
 
Chip 
 
 
On Mon, 15 Apr 2019 14:07:04 -0400, Sandor Szatmari via 4D_Tech wrote: 
>  
>    Path 2: Indirect path to SubscriptionDetail form through OrderDetails: 
>       • Create a new order (OrderDetails) 
>       • While in OrderDetails make it a subscription,  
> SubscriptionDetails is displayed 
>       • Now in SubscriptionDetails 
>       • Edit SubscriptionDetail.textField the On Data change does not  
> appear fire, 
>          or the wrong form is receiving it, or some scenario I can't  
> envision… etc. 
>  
--- 
Gas is for washing parts 
Alcohol is for drinkin' 
Nitromethane is for racing 

CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
information from InfoPlus (a service of Bristol Capital, Inc.). It is intended 
only for the addressee and may contain information that is confidential and/or 
otherwise exempt from disclosure under applicable law. If you are not the 
intended recipient or are acting as agent for the intended recipient, any use 
or disclosure of this communication is prohibited. If you have received this 
communication in error, please notify us immediately to arrange for the 
appropriate method of returning or disposing of the communication. If our 
respective Companies have confidentiality provisions in effect, this email and 
the materials contained herein are deemed CONFIDENTIAL and should be treated 
accordingly unless expressly provided otherwise.
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: problems with SSL cert

2020-01-10 Thread Sandor Szatmari via 4D_Tech
Rebecca,

Don’t know if this is related, but I had a difficult time replacing a cert 
recently.  I found out that 4D server reads all certs in the main directory 
regardless of if you intent to used them or not.  As soon as I removed unused 
certs everything functioned perfectly.  I had simply renamed the old cert to 
replace the new one.  Thinking I don’t want to trash this yet.  But keeping it 
in the same dir gave major problems loading any cert.  hope that helps.  

Sandor

> On Jan 9, 2020, at 09:14, Rebecca Bryant via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> I am having a problem getting a new SSL certificate to work. This web app
> has been running successfully with SSL for several years. The current cert
> expires in a few days so I used GENERATE ENCRYPTION KEYPAIR and GENERATE
> CERTIFICATE REQUEST to generate a private key, public key, and certificate
> request. The request was submitted to DigiCert (by a tech support
> co-worker). The resulting file was renamed 'cert.pem' and the private key
> was renamed 'key.pem' and placed in the folder with the structure. When I
> try to start the app I get an error on the first line of the startup
> routine; it lists the 'key.pem' file with the error 'Access denied'. I have
> done all of this successfully before so I am stumped as to what is causing
> the failure this time. The app works fine if I replace the new cert.pem and
> key.pem files with the old ones (from Go Daddy). The app is running via 4D
> Server 16R5 on Windows Server 2016. Normally it runs as a service via
> FireDaemon. I have several other apps running with the same configuration
> and with SSL certs that were generated the same way.
> 
> Any ideas what the problem might be? Any help would be greatly appreciated.
> 
> Thank you and Happy New Year to all,
> Rebecca Bryant Williams
> becca...@gmail.com
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
information from InfoPlus (a service of Bristol Capital, Inc.). It is intended 
only for the addressee and may contain information that is confidential and/or 
otherwise exempt from disclosure under applicable law. If you are not the 
intended recipient or are acting as agent for the intended recipient, any use 
or disclosure of this communication is prohibited. If you have received this 
communication in error, please notify us immediately to arrange for the 
appropriate method of returning or disposing of the communication. If our 
respective Companies have confidentiality provisions in effect, this email and 
the materials contained herein are deemed CONFIDENTIAL and should be treated 
accordingly unless expressly provided otherwise.

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Remote working with 4D networks - what are people using ?

2020-03-19 Thread Sandor Szatmari via 4D_Tech

From:   James Crate via 4D_Tech <4d_tech@lists.4d.com> 
 To:   4D iNug Technical <4d_tech@lists.4d.com> 
 Cc:   James Crate  
 Sent:   3/19/2020 11:19 AM 
 Subject:   Re: Remote working with 4D networks - what are people using ? 

On Mar 19, 2020, at 11:13 AM, Herr Alexander Heintz via 4D_Tech 
<4d_tech@lists.4d.com> wrote:
> 
> AFAIK the MacOS cannot be changed to allow multiple concurrent user sessions 
> on one Computer, the OS simply lacks the necessary tools to do it.
> When you switch users on a Mac, you need to first switch off the user you are 
> currently logged in to.

When I screen share to Macs and another user is logged in, I am always given 
the option to share that user’s screen or log in as myself. 


For anyone who is curious, the behavior is a little different when using ARD 
(Apple Remote Desktop) management system. If you are using the ARD app, you 
just log right in and share the screen with the currently logged in user.  
There is no prompt to create a virtual desktop session.  You can still connect 
to the remote Mac through the typical finder dialogs and get the same prompt to 
log in as yourself or share screen with the current user if you want.



Sandor

Logging in as myself creates a virtual instance and allows me to use that 
machine without disturbing anyone who maybe be sitting at the machine or screen 
sharing. It has been this way since at least macOS 10.10. 

Jim Crate

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

CONFIDENTIALITY NOTICE: This email (and any related attachments) contains 
information from InfoPlus (a service of Bristol Capital, Inc.). It is intended 
only for the addressee and may contain information that is confidential and/or 
otherwise exempt from disclosure under applicable law. If you are not the 
intended recipient or are acting as agent for the intended recipient, any use 
or disclosure of this communication is prohibited. If you have received this 
communication in error, please notify us immediately to arrange for the 
appropriate method of returning or disposing of the communication. If our 
respective Companies have confidentiality provisions in effect, this email and 
the materials contained herein are deemed CONFIDENTIAL and should be treated 
accordingly unless expressly provided otherwise.
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**