Re: 4D Server in the cloud

2016-09-30 Thread Arnaud de Montard
> Le 29 sept. 2016 à 21:04, Kirk Brooks a écrit : > > [...] you will need to examine how you do such queries and probably > modify code. Execute on server is vital. [...] Some examples, to illustrate… Never use While(not(end of selection())) I had to display or print many pictures (a kind of

Re: 4D Server in the cloud

2016-09-30 Thread Alan Chan
Are you sure this command won't be sent to server? Nonetheless, the result would be returned in one traffic. Alan Chan 4D iNug Technical <4d_tech@lists.4d.com> writes: > SET FIELD RELATION(foreignKeyParent1;automatic;do not modify) > SET FIELD RELATION(foreignKeyParent2;automatic;do not modify)

Re: 4D Server in the cloud

2016-09-30 Thread Arnaud de Montard
> Le 30 sept. 2016 à 11:00, Alan Chan a écrit : > > Are you sure this command won't be sent to server? Hi Alan, no, just faith ;-) Olivier Deschanels told me it's a "setting" and 4D is optimized to wait for the next data query to send it at the same time. Most probably many commands (SET QU

Re: Listbox enterable - save record needed?

2016-09-30 Thread Chip Scheide
v13 - I do not do that. I.E. issue save record after a change of data. to edit an item in a listbox I use the following code to access the record - this may be different then what you are doing. Code: //lstbox_Enter_Data_Directly //$1 - longint - column into which to allow (first) entry /

Re: Listbox enterable - save record needed?

2016-09-30 Thread Keith Culotta
Chip is correct. "Save" is not always needed. In the listboxes I was thinking about, the records were being unloaded or reloaded during the editing process, so saving immediately was required. I just added "Read Write" to a form that contained a listbox used to display records. Edited fields sa

PrintList Pro v5.3.2 released

2016-09-30 Thread Philippe Ganter
e-Node, worldwide leader of 4D professional tools, announces PrintList Pro v5.3.2. http://www.e-node.net/plp See the details at http://forums.e-node.net/viewtopic.php?f=10&t=302 This will probably be the last v5 release before PrintList Pro v6, which will be 64-bit and 4D v16 compatible. Contac

Get rid of users and groups (v15)

2016-09-30 Thread David Rose
There are numerous past posts on this subject related to past versions of 4D, and none provide a way to delete all users and groups if some of those were created by the Designer. Is there a way in v15? --- This email has been checked for viruses by Avast antivirus software. https://www.avast.

Re: Listbox enterable - save record needed?

2016-09-30 Thread Arnaud de Montard
> Le 30 sept. 2016 à 16:35, Keith Culotta a écrit : > > [...] > I just added "Read Write" to a form that contained a listbox used to display > records. Edited fields saved without any save command. I'm not found of enterable selection listboxes in C/S. It seems the trigger is executed each t

Re: Get rid of users and groups (v15)

2016-09-30 Thread Neil Dennis
> There are numerous past posts on this subject related to past versions of 4D, > and none provide a way to delete all users and groups if some of those were > created by the Designer. Is there a way in v15? Login as designer and delete them from the interface that you create them. Form the de

Parameter Passing - $N or Objects ?

2016-09-30 Thread Peter Jakobsson
Hi I like using traditional parameters for methods because they are so exposed for the compiler. Also I use a huge amount or globals (process and interprocess) so they never get out of hand. I’ve found this approach to be very reliable because parameter count and type mismatches get spotted ver

Re: Parameter Passing - $N or Objects ?

2016-09-30 Thread Neil Dennis
> So, informal poll - who’s using objects for parameter passing ? I’m using object and love them… Example 1 For example the program which I’m working on creates reports in different formats but use the same data. So I put my code to load the data in one method then use another method to format

Re: 4D Server in the cloud

2016-09-30 Thread DEddy
Kirk - > > i have been running 4D server from my own server in a colo > Is colo considered "Cloudy" enough? Or not? - David - Running 4D v15.2, OS X v10.11.5, Foundation v5.6.1 -- View this message in context: http://4d.1045681.n5.nabble.com/4D-Server-in-the-cloud-tp5747629p5747661.html

Re: Parameter Passing - $N or Objects ?

2016-09-30 Thread Douglas von Roeder
Peter: From my email in the thread entitled "Building a Selection to array statement in v13.6" from July 2016: "John/Neil: Couldn't agree more about passing an Object. I've been using ObjectTools and programmatically creating accessor methods for "base classes" for almost 20 years. That has all

Re: 4D Server in the cloud

2016-09-30 Thread Alan Chan
Hi Arnaud, I explicitly asked about these questions like Query (*), I was told each query would be sent individually but won't executed until the last was sent. Query([table];[field1]=1;*) Query([table];&;[field2]=2;*) Query([table;&;[field3]=3) 3 traffic would be sent. Yes, I admitted that I w

Re: 4D Server in the cloud

2016-09-30 Thread Kirk Brooks
David, On Fri, Sep 30, 2016 at 12:18 PM, DEddy wrote: > Is colo considered "Cloudy" enough? Or not? > ​I guess that depends on how sophisticated your audience is. We've got our own IP, our own domain and it's not in our basement. That's at least foggy. -- Kirk Brooks San Francisco, CA ==

Re: Parameter Passing - $N or Objects ?

2016-09-30 Thread Kirk Brooks
Peter, I'm a big fan of objects as params. For simple things (ie. $name:=Order_get_customerName($order_id)) I generally don't. But when I start passing more than about 3 arguments it's time to get objective, as it were. ​Regarding variable typing, that becomes less of a problem when your methods b

RE: 4D Server in the cloud

2016-09-30 Thread Timothy Penner
> Is colo considered "Cloudy" enough? Or not? The "cloudiness" of the colo depends on which floor the server is located on; the higher up the more chance of being in the clouds ;-) Happy Friday! -Tim ** 4D Internet Users Grou

Re: Listbox enterable - save record needed?

2016-09-30 Thread Keith Goebel
Thanks to Chip and Keith for your replies. On 1/10/2016, at 8:00 am, Keith Culotta wrote: > Chip is correct. "Save" is not always needed. > In the listboxes I was thinking about, the records were being unloaded or > reloaded during the editing process, so saving immediately was required. > I jus

Re: Parameter Passing - $N or Objects ?

2016-09-30 Thread JPR
> From: Peter Jakobsson > From: Peter Jakobsson > To: 4D iNug Technical <4d_tech@lists.4D.com> > Subject: Parameter Passing - $N or Objects ? > Message-ID: > Content-Type: text/plain; charset=windows-1252 > [JPR] > So, informal poll - who’s using objects for parameter passing ? Me! Just i

Re: Parameter Passing - $N or Objects ?

2016-09-30 Thread David Adams
> Since I’m considering taking the leap I thought I solicit people’s opinion and see > who’s using the object approach and what do/don’t you like about it. It depends. By the way, this is a question that goes back in programming *way* before 4D even existing, so don't expect there to ever be a de