Off - Apple OS Server

2018-08-02 Thread npdennis via 4D_Tech
With Apple removing many applications from future OS Servers I’m looking for some ideas for good replacements for the following: Email. Web, VPN, DNS Email - I’m thinking of using gmail but I don’t know if there is something better Web - I’m thinking of using my ISP DNS - I have my domain

Re: UUID version 4 needed

2018-07-07 Thread npdennis via 4D_Tech
> Is there anybody that can confirm that on WIndows 4D generates it the wrong > way”? If I generate one on Mac OS X, 4D v16.3 I get what looks like version 4: 9D93513FEC514B3DA0FC0894C87C41C6 If I use the same code on Windows 8 I get one that does not look like version 4:

Re: problems with SEND RECORD

2018-07-03 Thread npdennis via 4D_Tech
> // THIS DOESN'T work! it approves the records but does append to the log Try this loop instead, you need a save record in the loop, and since you are saving each you don’t need the apply to selection and first record… the loop below will take less execution time and only modify the

Re: A thought on re-indexing of a large database after repairs, compacting etc

2018-04-23 Thread npdennis via 4D_Tech
> You know the old saying: “A watched pot never boils.” > Watching 4D reload the same table with 7 million records 8 times to generate > 8 indexes is kind of like that. Later versions of 4D optimized the index rebuilding by caching the records and doing all of the indexes on table at a time.

Re: 4D data on the web - what do you use?

2018-03-14 Thread npdennis via 4D_Tech
I’m partial to React, I use 4D methods to return JSON strings (via JSON Stringify on a C_OBJECT) Before choosing React, I build a proof of concept page with React and Angular (not AngularJS). React performed much better and was easier to learn because the React language is close to Javascript,

Re: 4D Parameter

2018-02-06 Thread npdennis via 4D_Tech
> Is there some 4D parameter that it gives more priority to the clients > than the server. Are you running the clients and the servers on the same computer? There are such settings. I forgot where they are in 4D v12, maybe under database settings. Some things also to look at is cache size, if

Re: v16R and v16

2018-01-22 Thread npdennis via 4D_Tech
> There’s a new command (LISTBOX SET PROPERTY) that I’ve been anticipating for > years; it was introduced in v16R2, apparently, but isn’t in v16.3 > > I’m not a partner and don’t get R releases, which I accept means I’ll have to > wait. I’m just wondering for how long. Anything in the R

Re: Interaction with Microsoft Web Service

2017-12-07 Thread npdennis via 4D_Tech
> Thank you for the response. What i was omitting to say is that i was looking > for a solution for the v12 version of 4D and i'm dealing with a SOAP > comunication. The commands haven’t changed much that I know of between version. Check the v12 manual for web services (web services are SOAP

[Off] Xcode 9

2017-11-14 Thread npdennis via 4D_Tech
With Xcode 8 when debugging with a break point, I was able to move the instruction pointer with a little arrow on the left of the window in the gutter. The gutter also contained line numbers and break points and a shaded line to show code nesting (the deeper the nested code the darker the

Re: identify duplicates

2017-10-31 Thread npdennis via 4D_Tech
> I'm looking for a strategy to identify duplicate records in a table - that > is, records for which 3 fields are identical across two or more records - > or in another case, where a single field is not unique. If you are just looking for fields that are exactly the same, the SQL with GroupBy

Re: pointers to arrays

2017-10-31 Thread npdennis via 4D_Tech
> but that doesnt work, hence my question If you want to run compiled you will need to use a list box to create dynamic arrays… or declare every possible combination you will use in a method and use get pointer… However in your case you might be able to use a 2D array, or depending on what

Re: pointers to arrays

2017-10-31 Thread npdennis via 4D_Tech
> And How do I create the Arrays in the First Place If you are running compiled you I think will need to type the arrays in a method someplace so the compiler knows about the arrays. I know that some variable types don’t need compiler declarations, but I think arrays do. // Some method maybe a

Re: pointers to arrays

2017-10-31 Thread npdennis via 4D_Tech
> Im pretty sure I need to use pointers to accomplish this, but I dont know how. Try the command Get Pointer… $p:=Get Pointer(“Array201”) or $x:=201 $p:=Get Pointer(“Array”+string($x)) However compiled you may need to have the arrays declared some place. Neil

Re: 4D v16.2 false record locks

2017-09-19 Thread npdennis via 4D_Tech
> On Sep 19, 2017, at 8:03 AM, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > The client timeout will remove a dead user after that period of activity. In > these cases, the user isn't even showing in the list of connected users on > the server, yet 4D reports the lock in that

Re: ​Re: UUID vs Longint primary key

2017-08-08 Thread npdennis via 4D_Tech
> I find that by placing the internal linking value (non-editable) on an > entry form > GREATLY enhances the ability/simplicity of tracking down data issues. This same thing can also be done by adding the same field to the same table but not linking off of it internally :) -- Neil Dennis 4D

Re: ​Re: UUID vs Longint primary key

2017-08-06 Thread npdennis via 4D_Tech
> Relational model databases by definition are not supposed to use keys that > have no meaning. You may have stated that backwards… relational model databases by design should never, never, never use business data for keys. This was the number one rule drilled into me by my college relational

Re: UUID vs Longint primary key

2017-08-04 Thread npdennis via 4D_Tech
> I can’t speak to any performance differences when using them as indexed key > fields for searches … they likely have similar performance, but that’s just a > guess. I can speak to the performance, they are not the same. UUID is faster. 4D uses BTrees (binary trees or sometimes called

Re: Recommendations?

2017-07-31 Thread npdennis via 4D_Tech
I would recommend using 4D to create the PDF documents, cross platform , easy to use component. http://www.greatext.com/PDFGenerator_v15.zip > On Jul 31, 2017, at 7:39 AM, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I wouldn't

Re: 4D v16 Table/Field numbers

2017-07-03 Thread npdennis via 4D_Tech
> Since noticing the 4D function "Is field number valid”, making it easy to > detect deleted fields, I thought field numbers would not be reused. It turns > out this is not the case. A bit of testing reveals that 4D does not even > clear the data when deleting a field, and still references data

Re: 4D and Exchange Server with IMAP

2017-06-19 Thread npdennis via 4D_Tech
> Using the correct password, and specifying the last parameter as 1 ("use > SSL"), this works. > ^By works, I mean the command completes within 2 seconds, $ErrorNum is 0, and > vImap_ID is 1 Thanks, good to know. I will double check the password, but I’m pretty sure it was OK as I tried a

Re: Linux in the future?

2017-06-16 Thread npdennis via 4D_Tech
> I remember years ago 4D “Universal” was supposed to run on Linux one day. I > haven’t followed the DEVCONs in a while. Are there still any discussions > concerning a Linux version of 4D Server? I haven’t heard anything since “years ago”. I saw it once then never heard again. So if they are

Long Beach - 4D World Tour

2017-05-06 Thread npdennis via 4D_Tech
I’m returning home this morning from the Long Beach 4D World Tour… The trip was well worth the cost even with Air, Food, Lodging and the class cost. Some training highlights: - Workers and Processes - Message communication - In depth look at ListBoxes - Code style hints to make programming

Re: 4D Server Crashes When Tracing Buggy Web Connection Code

2017-04-07 Thread npdennis via 4D_Tech
> What compiler settings do you use? Do you have the range checking ON (top option in the compiler settings)? If not you should. -- Neil Dennis 4D Developer since 1990 GreaText - Designing Software for the Way You Work 716 East 1850 N North Ogden, UT 84414 mailto:npden...@greatext.com

Re: Anyone using v16 in WAN

2017-04-04 Thread npdennis via 4D_Tech
> if you have no issues using the database in user mode over the same network, > then perhaps some methods are choking the network in a way that does not > happen over the legacy layer. I found the new net work layer unusable as well. During heavy loads 4D will quit responding. I use legacy

Re: 4D Query error, Beware

2017-03-25 Thread npdennis via 4D_Tech
> there has been a couple of fixes related to the database engine > (transactional query in particular) in recent nightly builds, > part of the reasons why some hot-fixes were released during a relatively > short time span. Very cool that 4D is being responsive to these. Maybe HF3 will include

Re: List Box Hidden rows array

2017-03-13 Thread npdennis via 4D_Tech
> On Mar 12, 2017, at 11:14 PM, Jim Dorrance via 4D_Tech <4d_tech@lists.4d.com > > wrote: > > I would to use a dynamic form array as a ListBox hidden rows array. Is > there a way I can set this with code. You can with 4D v16 or one of the 4D v15r releases, but not

Re: SSL Certificates - GoDaddy

2017-02-17 Thread npdennis via 4D_Tech
> Also GoDaddy https:// website is down and it says: > > Access DeniedYou don't have permission to access "http://www.godaddy.com/; > on this server. > > Reference #18.7157dd58.1487372136.fb3e3ec > Try: https://www.godaddy.com It works for me, try clearing your cache Neil -- Neil Dennis 4D