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 registered with GoDaddy, I’m thinking of using them for 
this
VPN - I’m thinking of purchasing a device

Any good ideas? What do you currently use?

Neil


--

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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:

06CEFE7DB60C7847884A346274C254DB

Neil


--
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
http://www.greatext.com/

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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 records once:



CONFIRM(Current user+": Are you sure you want to approve these"+\
String($selectedCount)+"records?";"Approve";"Don't Approve")

If (OK=1)
  For ($i;1;$selectedCount)
[Approvals]approved_by:=Current user+" (4D Client)"
[Approvals]approved_date:=Current date(*)
[Approvals]notes:=[Approvals]notes+Char(13)+txtApprovalNotes
[Approvals]log:=[Approvals]log+"4D client ("+Current user+") approved this 
record on"+\
String(Current time(*))+" "+\
String(Current date(*);" | Short")+Char(13)
[Approvals];[Approvals]approved:=True

SAVE RECORD([Approvals])
NEXT RECORD([Approvals])
  End for 
Else 
  ALERT("Operation canceled.")
End if 







> On Jul 3, 2018, at 4:00 PM, Noah via 4D_Tech <4d_tech@lists.4d.com> wrote:
> 
> Thank you all for the quick feedback!
> 
> The approvals table has all records with Approved defaulting to False.
> The problem was with not including Set Channel (which is not really what I
> wanted to be doing anyways). I must have taken a fork in the road (while
> reading the documentation this morning) which lead to a place I should not
> have been.
> 
> First problem was that looping over records in selection was not limiting
> it to one record inside the loop.
> 
> http://doc.4d.com/4Dv15/4D/15.6/Records-in-selection.301-3817584.en.html
> 
> When I tried an alternate approach, I ended up looking at sockets
> 
> Here is a snippet from the original code that I was trying to get working:
> 
> CONFIRM(Current user+": Are you sure you want to approve these
> "+String($selectedCount)+" records?";"Approve";"Don't Approve")
> 
> If (OK=1)
> APPLY TO SELECTION([Approvals];[Approvals]approved:=True)
> 
> FIRST RECORD([Approvals])
> 
>  // THIS DOESN'T work! it approves the records but does append to the log
> of each record
> For ($i;1;$selectedCount)
>  [Approvals]approved_by:=Current user+" (4D Client)"
>  [Approvals]approved_date:=Current date(*)
> 
>  $current_notes:=[Approvals]notes
>  [Approvals]notes:=$current_notes+Char(13)+txtApprovalNotes
> 
>  $sTime_Stamp:=String(Current time(*))+" "+String(Current date(*);"|Short")
>  $new_line:="4D client ("+Current user+") approved this record on
> "+$sTime_Stamp+Char(13)
>  $current_log:=[Approvals]log
>  [Approvals]log:=$new_line+$current_log
>  NEXT RECORD
> End for
> Else
> ALERT("Operation canceled.")
> End if
> 
> 
> txtApprovalNotes is the name of a text entry field on the form.
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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. If there is enough cache (memory) 
the second through 8 index would be much much quicker in that it wouldn’t need 
to reload the records in the table.

Log story short, since you can’t get an SSD, maybe increase the server memory 
and cache size for reindexing.

Neil


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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, where Angular is not.

React is great for building a SPA (single page application) like you would use 
building a mobile application. React will also build native iOS and Android 
applications instead of hybrid apps.

There is a little learning curve with React in that you don’t build HTML you 
build React code that assembles the HTML and displays it and keeps things up to 
date.

React’s strongest draw was the render time. When a web page changes only the 
part that changes is re-rendered. This makes it extremely fast for mobile 
development.

I also used Bootstrap… very nice if you haven’t ever tried it you should.

Neil

--
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
http://www.greatext.com/


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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 it is set to 
high or to low this can cause slowdowns as well. There are a lot of other 
things that can slow down your application on the client.

From my experience, I have found that performance problems are usually with the 
way things are coded, not always just a server setting. Proper database 
indexing and writing server friendly code... there are dozens of coding 
techniques that should be used for client/server that don’t matter as much when 
creating a single user application

Neil




--
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
http://www.greatext.com/



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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 releases are included in the next major version of 4D so 
features in 16R2 will be in the first 17 dot release.

There are a lot of cool things coming up not only with list boxes, but 4D Write 
Pro that I’m looking forward to in 17.0

Neil

--
Neil Dennis
4D Developer since 1990

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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 services)

Neil

--
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
http://www.greatext.com/


Neil
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

[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 shading of 
the line). With Xcode 9 I see the gutter with line numbers and can add break 
points but the arrow to move the instruction pointer is gone, so is the line 
that showed the code nesting. The problem is that when I’m debugging I can’t 
drag the instruction pointer to a new line of code skipping or repeating lines 
of code.

There is something new in Xcode 9, that looks like a thumb on the right side of 
the line currently executing, at times I have been able to drag this to a new 
line, but it isn’t reliable, most of the time when I click on it and try to 
drag it, it just stays there… so I’m not sure how I use it.

Do any of you work with Xcode 9 and have any of you seen and/or know how to 
move the instruction pointer when debugging? Perhaps there was a preference to 
hide the code nesting and this arrow in the preference, but I have looked and 
can’t find it. If you have any suggestions I’m happy to try.


Neil
--
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
http://www.greatext.com/



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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 and Having gives a lot of flexibility
Also the Distinct Values in most recent versions has a count array as a second 
parameter, in prior versions will just give you the list of unique values

Neil

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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 
version of 4D you are using you may be able to use a C_Object

Neil

--
Neil Dennis
4D Developer since 1990

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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 COMPILER_ARRAY method
Array text (array1;0)
Array text (array2;0)
Array text (array3;0)
Array text (array4;0)
// add the arrays you will use here



// Method to assign the arrays

$p:=Get Pointer(“array”+string($1)) // assuming you pass in the array number 
such as one

// Then use the pointer -> wherever you would use the array

Array Text($p->;20)
$p->{1}:=“One"

// Or maybe something like

Selection To Array([Table]Field;$p->)



Neil


--
Neil Dennis
4D Developer since 1990


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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 user's name.


When I saw this earlier, it was a server process that was hanging on to the 
records, not a client process. As soon as I was careful to set tables to read 
only and unload locked records in my server processes and "execute on server" 
methods my problem went away.

--
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
http://www.greatext.com/




**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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 Developer since 1990


GreaText - Designing Software for the Way You Work
716 East 1850 N
North Ogden, UT 84414

mailto:npden...@greatext.com
http://www.greatext.com/


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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 database classes. I found this to be 
very wise advice in the real world. It came in handy when building a database 
for vehicles and the suggestion was to use VIN as a primary key since they were 
unique… it turns our that as unique as VIN should be, they are not… it was no 
problem for out database to handle vehicles with the same VIN because we 
followed the non-business-data-for-primary-key rule.

On the other hand, you do model the data after business relations, but the keys 
that tie that relation data need/should never be seen in a well designed 
system. If a user readable key is needed by business, then there should be 
another data piece that the user can read (like an MRN, medical record number, 
or an abbreviation that is unique and human readable) But these should never be 
used to link together data in a structure in primary key foreign key relation.

Just my two cents.

Neil

--
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
http://www.greatext.com/



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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 red/black trees) to store 
index structures. A sequential number is the slowest possible way to create or 
add to a BTree. The treee needs to remain balanced, so there is a lot of 
rebalancing the needs to occur when numbers are added sequentially. UUID’s are 
much more random and require less tree balancing and are therefore faster for 
delete, create operations.

I started using UUID since version 11 and love them.

--
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
http://www.greatext.com/


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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 recommend a plug-in (or PHP) for PDF creation for just 100-200 
> PDFs a month. It's a real pain in the backside. The printer driver-based 
> solutions are perfectly reliable and are so much easier to maintain.
> 
> --
> Jeffrey Kain
> jeffrey.k...@gmail.com
> 
>> On Jul 30, 2017, at 6:41 PM, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> 
>> wrote:
>> 
>> If you don't do that use a scheme for producing PDFs that doesn't depend on
>> a print driver.
> 
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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 by field 
> number, which means after deleting a field, a newly created field is 
> “initialized" with the old data!


This is how 4D has worked ever since you could delete fields. You can always 
use an SQL command to append field, this doesn’t reuse a field.

Even more cool than being able to reuse a field, is that you can change a 
structure type (say from numeric to alpha) and 4D will auto convert the data 
automatically… the data in the datafile isn’t modified it stays what the 
previous datatype was until the record is saved again. 4D does the conversion 
of the data where ti makes sense.

So this bug as you call it, feature as I call it, can be used to your advantage 
if you understand how it works.

In your case just use the SQL append and you are all set.

Neil

--
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
http://www.greatext.com/

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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 
couple of them.


Neil
--
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
http://www.greatext.com/


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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 still working towards that it will be a surprise to us 
all :)


Neil




--
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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 easier to day
 - Tips to make programming transitions easy to future version
 - Tools to convert to v16 (Including an impressive picture convert utility)
 - Much more...

There was much, much more. This was my second tour, I’m definitely coming back 
to the next one. There is only one more in the US, if you haven’t gone to one 
already I don’t think it is too late.

Neil



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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
http://www.greatext.com/



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.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 network and things work great. This was all done 
on a LAN not a WAN.

I let the 4D engineers know about this at the last 4D summit. I have been 
unsuccessful in creating a small isolated database that demonstrates the 
problem. In my case it only happens in heavy load conditions and can take a few 
days to manifest itself.

By heavy load, we have over 100 users hitting the database (all on the same 
network as the server) and there is a lot of network traffic. When I say quit 
responding… there comes a time, sometimes after a few days, where no one can 
log in, and those logged in appear to be frozen. Restarting the 4D server fixes 
this for a few to several more days. When I run legacy network these problems 
do not exist.

Neil

--
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
http://www.greatext.com/



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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 a fix 
for this.

Neil

--
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
http://www.greatext.com/



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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 in a 4D 15 dot 
release or before.

So, if you are using 15.4 or earlier you would need to set a process variable 
in the hidden rows and use it.


Neil


--
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
http://www.greatext.com/



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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 Developer since 1990

GreaText - Designing Software for the Way You Work
716 East 1850 N
North Ogden, UT 84414

mailto:npden...@greatext.com
http://www.greatext.com/


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**