Where do we inform 4D about program bugs?

2018-12-14 Thread Chris Belanger via 4D_Tech
Can someone kindly direct me to a link whereby I can inform 4D about program bugs I have come across? thanks, Chris ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options:

4D Write for v17

2018-12-14 Thread Mitchell Shiller via 4D_Tech
Hi, In process of migrating from v16 32 bit to v17 64 bit all on Mac. Converted my interpreted database, but can’t find a copy of 4D Write for v17. The v16 version won’t load in v 17. I wanted to convert all my 4D Write to 4D WritePro in 32 bit. Once stable then jetison the old 4D Write and

Re: Windows Server Machine TCP Overload?

2018-12-14 Thread Keisuke Miyako via 4D_Tech
quick Google results, so don't quote me on this https://support.microsoft.com/en-us/help/832017/service-overview-and-network-port-requirements-for-windows other pages (old, window server 2008-ish) says the number socket ports is 65535-49152=16383 but the range can be expanded with "netsh" e.g

Re: Runtime error ST GET OPTIONS

2018-12-14 Thread Keisuke Miyako via 4D_Tech
I would use an intermediate local variable instead of using an object notation property directly as a command/function parameter. not all commands work with properties. --- the grammar makes a distinction between a value and a variable which is a container of a value. formulae that evaluate

Runtime error ST GET OPTIONS

2018-12-14 Thread Two Way Communications via 4D_Tech
Hi, I am running into a problem when running compiled. In interpreted mode, the code works just fine. This is 4D v17R2 on MacOS High Sierra. I am trying to get the content type from a cell of a table in a 4D Write PRO area. $cellrange:=WP Create range($CellObj;wk start text;wk end text)

Re: Distinct Values on Composite Index

2018-12-14 Thread Two Way Communications via 4D_Tech
Hi, I am running into a problem when running compiled. In interpreted mode, the code works just fine. This is 4D v17R2 on MacOS High Sierra. I am trying to get the content type from a cell of a table in a 4D Write PRO area. $cellrange:=WP Create range($CellObj;wk start text;wk end text)

Windows Server Machine TCP Overload?

2018-12-14 Thread Tony Ringsmuth via 4D_Tech
(Sorry: I haven’t been on the nug for quite a while: but in real need of some ideas at the moment) I’m having what I think is Machine TCP overload. Here’s the situation: >4D V16.4 64-bit >Windows, server 2012r6, 48GB Ram, 11 fast processors, Fast SSD disks I have machines that host

Excel copy error while 4D is running (Windows)

2018-12-14 Thread Jim Hays via 4D_Tech
We've seen this error over the years, but not so much recently. Now it seems to be back. This is using Windows 10 build 1803, Office Professional Plus build 1811 , 4D v12.6, _and_ 4D v17hf3 (32 bit). "The picture is too large and will be truncated" Select a fairly large Range in Excel and

Re: Coding/Development Style Guide?

2018-12-14 Thread Tom Benedict via 4D_Tech
Hi Chip, Thanks for pointing out that forms can be inherited. I’ve looked at Inherited Forms in the past and they struck me as having limited value since they cannot be modified on the child form. Record navigation and CRUD buttons are simple and can been generic, but custom features,

Re: Coding/Development Style Guide?

2018-12-14 Thread Chip Scheide via 4D_Tech
Tom, They do - you can create a form and then inherit it. Form properties -> Inherited form table --- only if the form is from a table Form properties -> Inherited form Name This is what I do for list forms when I need to add functionality different from my base list form. Chip On Fri, 14 Dec

Re: Coding/Development Style Guide?

2018-12-14 Thread Tom Benedict via 4D_Tech
Thanks Pat and Arnaud, Seems it’s common to include datatype in variable/field names, whether it’s prefix or suffix is a matter of style. I find it very useful to know at a glance the type of an object, so I use a similar “modified Hungarian” notation too. For booleans I use the “is” prefix,

Re: Coding/Development Style Guide?

2018-12-14 Thread Chip Scheide via 4D_Tech
no - I probably should... my UI is fairly simple in design: - color coded entry areas -- Black - optional -- Red - non enterable (display only) -- Green - mandatory I use the same record navigation buttons on all forms : Philadelphia from 4D v2003? these are arranged vertically on the left

Re: Coding/Development Style Guide?

2018-12-14 Thread Tom Benedict via 4D_Tech
Thanks Chip. Very comprehensive! Do you have a similar guide for User Interface? Tom > On Dec 14, 2018, at 08:18, Chip Scheide <4d_o...@pghrepository.org> wrote: > > > you asked for it :) > > here is my 'conventions' comment only method - > I place this in every project. > > > On Fri, 14

Re: Coding/Development Style Guide?

2018-12-14 Thread Chip Scheide via 4D_Tech
you asked for it :) here is my 'conventions' comment only method - I place this in every project. //Project Method: _Conventions // • Created 2/16/10 by Chip - //• Updated 2/17/16 by Chip - //• Updated 3/24/16 by Chip - //• Updated 9/2/16 by Chip - added object naming, popup

RE: Coding/Development Style Guide?

2018-12-14 Thread Justin Will via 4D_Tech
Pat, Love the j for object. I had been trying to figure out what I wanted to do for that and hadn't yet. Thanks for the idea. Justin ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options:

Re: Coding/Development Style Guide?

2018-12-14 Thread Arnaud de Montard via 4D_Tech
> Le 14 déc. 2018 à 16:48, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > We have a family simple but effective set of rules for naming variables. > [...] Hi, we're using something similar for variables (except it's suffixes: myText_t, myDate_d, myTwoDimentionalArrayText_a2t,

Re: Coding/Development Style Guide?

2018-12-14 Thread Pat Bensky via 4D_Tech
We have a family simple but effective set of rules for naming variables. It's easy to follow and easy for anybody to know immediately what type of variable it is: Variable Naming Conventions Begin each variable name with a character to specify what type it is: · String: s · Text: t ·

Re: Managing different indexes for different databases

2018-12-14 Thread Tom Dillon via 4D_Tech
Pat, Now you've got me intrigued. Not to question the validity of this at all, but what does this do for the customer that leaving all the optional indexes on would? Do you, from the design mode, have all the optional indexes turned on, and turn off indexes based on the FieldMap settings? If

Coding/Development Style Guide?

2018-12-14 Thread Tom Benedict via 4D_Tech
Anybody out there have a style guide for development that they’ve written? I know a lot of people use shells that either they or others have written and that goes a long way toward supporting ease of maintenance of an app. Have you formalized guidelines on coding style, UI standards, naming

Re: Managing different indexes for different databases

2018-12-14 Thread Chip Scheide via 4D_Tech
turn the indexes on the customer tables OFF? for development - indexed or not should not matter signifcantly. Chip On Fri, 14 Dec 2018 14:25:08 +, Pat Bensky via 4D_Tech wrote: > In our app (CatBase) each customer can manage their own tables and fields > and one of the things they can do is

Managing different indexes for different databases

2018-12-14 Thread Pat Bensky via 4D_Tech
In our app (CatBase) each customer can manage their own tables and fields and one of the things they can do is specify whether a particular field is indexed. Since these indexes are different for each customer, when they get a program update from us, the indexes have to be recreated and built