Re: OBJECT SET EVENTS

2017-06-20 Thread Christian Sakowski via 4D_Tech
This is a very long feature request. What you actually suggest is: FORM SAVE. -- Grüße/Regards, [heubach-media] | Christian Sakowski christian.sakow...@heubach-media.de iChat/AIM: SakowskiF Tel: +49/(0)40/52 10 59-23 > Am 21.06.2017 um 00:08 schrieb Jim Medlen via 4D_Tech <4d_tech@lists.4d.com>

Re: Array Summary Sum Utility Method

2017-06-20 Thread Kirk Brooks via 4D_Tech
Sannyasin, The simple answer to the situation you describe is to loop through the records and build the arrays. I seem to recall you're working with v15+, so with that in mind here's how I'm handling these sorts of situations these days. 1) make an object array of each record. Depending on your

Re: Sending Emails Quicker?

2017-06-20 Thread Sujit Shah via 4D_Tech
Hi Keisuke I have never tried this.. But will see how that works On Wed, Jun 21, 2017 at 10:24 AM, Keisuke Miyako via 4D_Tech < 4d_tech@lists.4d.com> wrote: > 4D Internet Commands is not multi-threaded so using multiple processes > will have no positive effect on speed. > > why not use a sing

Re: Sending Emails Quicker?

2017-06-20 Thread Keisuke Miyako via 4D_Tech
4D Internet Commands is not multi-threaded so using multiple processes will have no positive effect on speed. why not use a single process, login once and reuse the same SMTP reference? for example, commands such as SMTP_Body has a "replace" option. > 2017/06/21 8:21、Sujit Shah via 4D_Tech <4d_

Re: Cache Settings

2017-06-20 Thread Robert McKeever via 4D_Tech
How all this works: The grid is rebuilt every night at 4am (each user can have their own variant) so the grid just opens complete when they start. When you click on a cell to do anything, the arrays for that line are retrieved from the record that displays the line, and they are stored there by

Re: Sending Emails Quicker?

2017-06-20 Thread Sujit Shah via 4D_Tech
Thanks Jim. Due to windows security issues the user can only send these emails from the Client Machine. It seems to really slow down their computer when distributed over 3 or 4 processes. It will be interesting to see how much improvement v16 brings in. On Wed, Jun 21, 2017 at 2:21 AM, Jim Labos

OBJECT SET EVENTS

2017-06-20 Thread Jim Medlen via 4D_Tech
Can Form Events for an object be permanently changed via a method ? Is it possible to write a method that will loop through all forms and clear the On Clicked event for every instance of a specific variable permanently ? (incomplete method as an example idea) FORM GET NAMES(atForm_Names) For(

Array Summary Sum Utility Method

2017-06-20 Thread Sannyasin Siddhanathaswami via 4D_Tech
Aloha, Does anyone have a utility method for summarizing (and summing) a set of arrays? For example with Invoice Line Items: Arrays: aItemNumbers aItemDescription aQuantitySold aExtendedSoldAmount Of course, with invoice line items there are multiple records with item numbers. I want a summary

Re: Cache Settings

2017-06-20 Thread Douglas von Roeder via 4D_Tech
Got it. 4D has been pushing us to large stack sizes for a long time so I've switched to a Constant that resolves to 0. Good luck with this. -- Douglas von Roeder 949-336-2902 On Tue, Jun 20, 2017 at 10:55 AM, Robert McKeever via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Array Range Check Error

Re: Cache Settings

2017-06-20 Thread Robert McKeever via 4D_Tech
Array Range Check Error I look at the line in the indicated method, and it has an array reference. So, now I check ahead of time and resize the array if it is ‘short’. I’ll try Tim Penner’s suggestion and check the stack size for the process running the method. > On Jun 20, 2017, at 10:43 AM,

RE: Cache Settings

2017-06-20 Thread Timothy Penner via 4D_Tech
Hi Bob, Maybe you could try increasing the stack size for the process that the form is open in, I would recommend 1MB of stack size (1024*1024) or use 0 to let 4D decide the appropriate stack size. Since the issue only happens in compiled mode and you cannot step through the debugger while in

Re: Cache Settings

2017-06-20 Thread Douglas von Roeder via 4D_Tech
Is there an error message? -- Douglas von Roeder 949-336-2902 On Tue, Jun 20, 2017 at 10:34 AM, Robert McKeever via 4D_Tech < 4d_tech@lists.4d.com> wrote: > The arrays are always the same size. > > There is a variable, MyTop, which holds the number of cells from left to > right. All of the array

Re: Cache Settings

2017-06-20 Thread Robert McKeever via 4D_Tech
The arrays are always the same size. There is a variable, MyTop, which holds the number of cells from left to right. All of the arrays are sized to that number. And, the issue is intermittent. > On Jun 20, 2017, at 10:24 AM, Douglas von Roeder via 4D_Tech > <4d_tech@lists.4d.com> wrote: > >

Re: Cache Settings

2017-06-20 Thread Douglas von Roeder via 4D_Tech
Bob: I hit an error in a V13 system a few years ago where I was getting "the array cannot be dimensioned". When I traced through the code, there was plenty of memory available both in the stack and for the application. The array was tiny - 12 elements ±. Here's the errant code and the "fix" C_TE

RE: Cache Settings

2017-06-20 Thread Timothy Penner via 4D_Tech
> I seem to be having some arrays end up undersized (of course, in a compiled > database running client-server). I not sure if this would be directly related to cache... What do you mean by some arrays end up undersized? In either case, Adaptive Cache is designed for the situation where you do

Re: Cache Settings

2017-06-20 Thread Jeffrey Kain via 4D_Tech
It's probably not related to the cache. The cache is for data, not arrays. -- Jeffrey Kain jeffrey.k...@gmail.com > On Jun 20, 2017, at 12:59 PM, Robert McKeever via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > I increased it to 800Mb. Same issue. The code is the v13 database converted > to

Re: Cache Settings

2017-06-20 Thread Robert McKeever via 4D_Tech
Mac server, running 10.12.5, 16Gb ram Data file 2.12Gb. Indexes 1.73Mb Compiled structure 2.12 Gb > On Jun 20, 2017, at 10:03 AM, Chuck Miller via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I would advise against using adaptive cache. We need some additional info > Windows server or mac > How

Re: Cache Settings

2017-06-20 Thread Chuck Miller via 4D_Tech
I would advise against using adaptive cache. We need some additional info Windows server or mac How much memory on machine How big is data file Regards Chuck Sent from my iPhone > On Jun 20, 2017, at 12:59 PM, Robert McKeever via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > Should it use adapt

Cache Settings

2017-06-20 Thread Robert McKeever via 4D_Tech
I have been running with 600mb cache memory under 4D V13. No problems. Under 4D V15, I seem to be having some arrays end up undersized (of course, in a compiled database running client-server). I increased it to 800Mb. Same issue. The code is the v13 database converted to v15. Should it use ada

RE: 4D and Exchange Server with IMAP [RESOLVED]

2017-06-20 Thread Dennis, Neil via 4D_Tech
> If you are using domain\user then make sure to escape the \ like this: > Domain\\User I was using the format correctly... To test what was going on I used telnet session went like this: telnet server 143 > *ready message A1 LOGIN "domain\\user" "password" > A1 NO LOGIN failed So I did some m

Re: voting for feature requests on the forum

2017-06-20 Thread Chip Scheide via 4D_Tech
- Go to : forums.4d.fr - log in - about 1/2 way down the page 'Feature Requests', click on the link You are now at the Feature requests forum. As to finding a specific request... I have not figured out the filters. They never seem to give what I expect, so I just scroll through until I find it, o

RE: voting for feature requests on the forum

2017-06-20 Thread Timothy Penner via 4D_Tech
Hi Chuck, > I can not read the XXX manual as there is not one. Here you go: http://kb.4d.com/assetid=76726 I should have made a better screenshot... The stars you want to hover over are the gray ones under the bold "rate this" text. If those stars are already yellow then you already voted and c

Re: Sending Emails Quicker?

2017-06-20 Thread Jim Labos - infobase via 4D_Tech
Not sure about the authenticate but what I do is use multiple processes to send out. There is the added work to keep track of what has gone out and divide the selections for each process but it does enable one to send out faster. Note also that your outgoing email server may have a maximum of emai

Re: voting for feature requests on the forum

2017-06-20 Thread Douglas von Roeder via 4D_Tech
Chuck: On my log in/home page, there are three "columns" of links. The center column is titled "Public Forums". At the bottom of the list is "Plugin SDK", just above that is "Feature Requests". I'm specifying "my log in/home page" - perhaps your configuration is a bit different. -- Douglas von

Re: voting for feature requests on the forum

2017-06-20 Thread Charles Miller via 4D_Tech
On Tue, Jun 20, 2017 at 11:59 AM, Douglas von Roeder via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Chuck: > > No question - it's *not* intuitive. Just click on the number of stars that > you want to give it. > OK but where do I see list. For example, I want to vote for feature request that 4D not

Re: voting for feature requests on the forum

2017-06-20 Thread Douglas von Roeder via 4D_Tech
Chuck: No question - it's *not* intuitive. Just click on the number of stars that you want to give it. -- Douglas von Roeder 949-336-2902 On Tue, Jun 20, 2017 at 8:56 AM, Charles Miller via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Hi all, there are a few feature requests I want to vote for on

voting for feature requests on the forum

2017-06-20 Thread Charles Miller via 4D_Tech
Hi all, there are a few feature requests I want to vote for on forum, but as I have not done this before can not find where to do it can someone excuse my stupidity and tell me I can not read the XXX manual as there is not one. Thanks and regards Chuck -- ---

RE: 4D and Exchange Server with IMAP

2017-06-20 Thread Paul Dennis via 4D_Tech
I am just using username not domain\username but I think this is something to do with exchange setup. What error are you getting ? 10061 is the imap proxy whereas 10064 is auth. Can you telnet to port 993 ? -- View this message in context: http://4d.1045681.n5.nabble.com/4D-and-Exchange-Server

RE: 4D and Exchange Server with IMAP

2017-06-20 Thread Timothy Penner via 4D_Tech
Hi, > I'm seeing the same thing, I use domain\username as the user name. I used u...@domain.com format and it worked for me. If you are using domain\user then make sure to escape the \ like this: Domain\\User Let me know if that helps, -Tim *

RE: 4D and Exchange Server with IMAP

2017-06-20 Thread Dennis, Neil via 4D_Tech
Paul I'm seeing the same thing, I use domain\username as the user name. I have verified at a low level that the IMAP_Login opens a connection to the exchange server (It looks like the client and server are talking). But IMAP_Login returns an error anyway. I have not found a solution yet. Neil

RE: 4D and Exchange Server with IMAP

2017-06-20 Thread Paul Dennis via 4D_Tech
For reference if anyone else is getting 10061 errors the issuse is exchnage. Follow this blog http://danblee.com/exchange-2013-test-imap-connectivity/ make sure imap.proxy is healthy then connect on port 993 with ssl -- View this message in context: http://4d.1045681.n5.nabble.com/4D-and-Exch

Re: Enterable Variables in Output Form headers

2017-06-20 Thread Bernd Fröhlich via 4D_Tech
Robert Livingston: > But I am curious and ask the assembled crowd. Has everyone basically given up > on using DISPLAY/MODIFY SELECTION? The cool kids have moved on? Not sure if I´m a cool kid but I don´t use DISPLAY/MODIFY SELECTION anymore. Selection based Listboxes are really comfortable. Jus

RE: 4D and Exchange Server with IMAP

2017-06-20 Thread Paul Dennis via 4D_Tech
Tim, I cant get this to work either error 10061 or 10064. SMTP works fine. Can you confirm if you are using domain\username or email address to login as per http://kb.4d.com/assetid=76712 On the exchange (2013) side imap settings are you able to confirm the login options have selected ? I get a