Re: How many Hierarchical Lists?

2017-08-14 Thread Wayne Stewart via 4D_Tech
Hi, Well I wrote a method that just ran through 1-100,000 using Is a list. The lists are not cleared. These are the stats up until the first (main interface) window is open: 6829 lists 7244 list items 7 list parameters if you close it and reopen a new one: 13638 lists 14467 list items 7 list

How many Hierarchical Lists?

2017-08-14 Thread Wayne Stewart via 4D_Tech
Hi, Is there a way you can find out how many lists there are? I'm looking at a system where they use HLists as sort of objects. Storing things in the "object" as list item parameters. I'd like to check that they are being cleared correctly. Regards, Wayne [image: --] Wayne Stewart [image: ht

Re: Listbox Printing

2017-08-14 Thread Keisuke Miyako via 4D_Tech
FORM LOAD simply loads the form definition. the data source (variables and arrays) are not bound automatically in print. you need to populate the objects by their names: SET PRINT PREVIEW(True) If (OK=1) OPEN PRINTING JOB FORM LOAD("Form1") $aA:=OBJECT Get pointer(Object named;"Column1") $aB:=

Re: How to show / hide all on Property List in v16?

2017-08-14 Thread Lee Hinde via 4D_Tech
I never collapse/expand the sections… > On Aug 14, 2017, at 2:04 PM, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Um - does this mean no one else is seeing this behavior? ** 4D Internet Users Group (4D iNUG) FAQ:

Re: How to show / hide all on Property List in v16?

2017-08-14 Thread Kirk Brooks via 4D_Tech
Well that explains why no one else seems to miss it... I find it really handy to tighten the list when working with objects and such. On Mon, Aug 14, 2017 at 2:08 PM, Jody Bevan via 4D_Tech < 4d_tech@lists.4d.com> wrote: > I didn’t know about this shortcut either. Never tried it before - or now.

Re: How to show / hide all on Property List in v16?

2017-08-14 Thread Jody Bevan via 4D_Tech
I didn’t know about this shortcut either. Never tried it before - or now. > On Aug 14, 2017, at 3:06 PM, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Never knew about this shortcut... > > -- > Jeffrey Kain > jeffrey.k...@gmail.com > > On Aug 14, 2017, at 5:04 PM, Kirk Brooks vi

Re: How to show / hide all on Property List in v16?

2017-08-14 Thread Jeffrey Kain via 4D_Tech
Never knew about this shortcut... -- Jeffrey Kain jeffrey.k...@gmail.com On Aug 14, 2017, at 5:04 PM, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> wrote: > >> In prior versions when working with a form and the Property List is >> displayed I could show/hide all panes on the list by holding th

Re: How to show / hide all on Property List in v16?

2017-08-14 Thread Kirk Brooks via 4D_Tech
Um - does this mean no one else is seeing this behavior? Any thoughts about why it is happening on my machines? On Thu, Aug 10, 2017 at 3:34 PM, Kirk Brooks wrote: > In prior versions when working with a form and the Property List is > displayed I could show/hide all panes on the list by holdin

Re: Listbox Printing

2017-08-14 Thread Keith Culotta via 4D_Tech
I did not mean to miss your point, but the following does not work when called from within the component either. The code I uploaded has it outside the print job. All variations have worked when used in the matrix structure. OPEN PRINTING JOB FORM LOAD("Form1")

Re: Listbox Printing

2017-08-14 Thread Keith Culotta via 4D_Tech
One correction - the Listbox appears when I use the Name. (The component built in an unused location when I tested your suggestion) The listbox already appears in the current form, and does print as expected. However when the app is compiled as a component, and its method called from the Host

Re: Listbox Printing

2017-08-14 Thread Keisuke Miyako via 4D_Tech
I am not sure I understand your code; are you not supposed to populate the arrays AFTER you call FORM LOAD (unless the listbox already exists in the current form) ? > 2017/08/14 23:29、Keith Culotta via 4D_Tech <4d_tech@lists.4d.com> のメール: > > I tried with the name as well. It works that way too,

RE: Get Info from a 4D Client - aka Interclient communication

2017-08-14 Thread Randy Engle via 4D_Tech
Hi Kirk, Cool. Thanks. This gave me some good ideas! Randy Engle XC2 Software LLC – XC2LIVE! -Original Message- From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Kirk Brooks via 4D_Tech Sent: Monday, August 14, 2017 8:24 AM To: 4D iNug Technical <4d_tech@lists.4d.com> C

Re: Get Info from a 4D Client - aka Interclient communication

2017-08-14 Thread Kirk Brooks via 4D_Tech
Randy, You could have a background process on 4D server that periodically pings the web server. Or makes an http call to it. I use a service to monitor server status that relies on this approach. This will also raise a flag if the server is un-available for some reason even if it is running. ​But

[MEETING] Montreal 4D Club Meeting

2017-08-14 Thread Thierry Daigneault via 4D_Tech
The next meeting of the Montreal 4D Club will be held Wednesday August 16th at 7 PM. The schedule for the next meeting is as follows: News Questions Presentations - Open meeting. Bring your questions and presentations. End of the meeting We usually end up at some sort of restaurant after each me

Keep Alive Connections Number of requests by connection

2017-08-14 Thread David Ringsmuth via 4D_Tech
When running 4D Server behind a proxy server (nginx), does 4D Server consider all of the requests from the proxy server to be from the same connection? The proxy server shows only 1 process ID. With between 500 and 2000 requests per second from the proxy server, what is the recommend setting fo

Re: Listbox Printing

2017-08-14 Thread Keith Culotta via 4D_Tech
I tried with the name as well. It works that way too, but not when run as a component. SET PRINT PREVIEW(True) If (OK=1) ARRAY LONGINT(aA;0) ARRAY TEXT(aB;0) For ($i;1;10) APPEND TO ARRAY(aA;$i) APPEND TO ARRAY(aB;"Text"+String($i))

Re: Backup failure

2017-08-14 Thread Jody Bevan via 4D_Tech
Ferdinando: There are two Database Methods to do with Backups. There are also various commands that you can find in the Language manual on Backup. - On Backup Startup - On Backup Shutdown Within these two is where we put code to ‘Wrap’ the 4D Backup process. This code is an example of getting

Backup failure

2017-08-14 Thread stardata.info via 4D_Tech
I all, I'm looking for a way to get a notification when a backup error is triggered. Is there a way that i can follow to make a custom code that advertise me when this event comes up? Thanks Ferdinando ** 4D Internet Users Gro

Re: 4D_Tech Digest, Vol 123, Issue 23

2017-08-14 Thread Ingo Wolf via 4D_Tech
>Like to hear what other alternatives any of you have implemented to make sure >4DRemote as Web server is always operational. I had once a 24/7 online payment system running for a customer. We had three 4D Server (all windows), each one (potentially) serving directly the web, with attached 4D C

Re: 4D Client/Remote as Web Server

2017-08-14 Thread Koen Van Hooreweghe via 4D_Tech
Hi Arnaud, I’m doing a similar thing, but a little more sophisticated... From my 4D ‘to be watched’ processes, I write the last date and time of execution. Then I have a watchdog AppleScript which checks the datetime and sends an email if something is wrong. Finally a crontab entry launches th

Re: 4D Client/Remote as Web Server

2017-08-14 Thread Paul Dennis via 4D_Tech
I run client webserver on windows and use nssm to run client as a service. Works great. Dont run any methods to keep activity up stays connected all weekend. Paul -- View this message in context: http://4d.1045681.n5.nabble.com/4D-Client-Remote-as-Web-Server-tp5753659p5753671.html Sent from