Re: Survey on 4D’s strategy for implementing Preemptive Processing / worker processes

2017-02-22 Thread Robert ListMail via 4D_Tech
James, when 4D is keeping the Postgres DB updated what mechanism is used? On the same machine, LAN or using a SOAP call that goes over the internet? Thanks, R Sent from my iPhone > On Feb 22, 2017, at 10:23 AM, James Crate via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > 4D pushes data to

Re: Old doesn't work with object fields

2017-02-22 Thread David Adams via 4D_Tech
On Thu, Feb 23, 2017 at 1:45 PM, Keisuke Miyako via 4D_Tech < 4d_tech@lists.4d.com> wrote: > while I love discussing feature requests, You make a good point about feature requests, but I've got another point of view. Sometimes, it's better for 4D to implement a feature than for us to implement

Re: Old doesn't work with object fields

2017-02-22 Thread Keisuke Miyako via 4D_Tech
while I love discussing feature requests, I also take the pragmatic view that every new feature comes at the cost of an idea delayed if not discarded. so, if anything is already possible with a little bit of creativity, and fulfils the immediate need, I would be ready to accept that, to clear

Re: Old doesn't work with object fields

2017-02-22 Thread David Adams via 4D_Tech
On Thu, Feb 23, 2017 at 12:14 PM, Jeffrey Kain via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Yeah, that's an incredibly good idea. I think it would also be very > useful for tables as well - being able to manage metadata for a table > without creating a special record has been on my wish list for

Re: Old doesn't work with object fields

2017-02-22 Thread Jeffrey Kain via 4D_Tech
Yeah, that's an incredibly good idea. I think it would also be very useful for tables as well - being able to manage metadata for a table without creating a special record has been on my wish list for decades now... > On Feb 22, 2017, at 7:12 PM, David Adams via 4D_Tech <4d_tech@lists.4d.com>

Install 4D v15 for Windows client mode usage

2017-02-22 Thread Justin Leavens via 4D_Tech
I have a customer site with a mix of Windows machines and I need to get the 4D v15.4 app for use in client mode on to each machine. This is not a merged server/client. What's the best way to get the 4D app installed on each machine? The 32-bit installer seems to want to install all of 4D

Re: Detecting field properties that can take nulls

2017-02-22 Thread Kirk Brooks via 4D_Tech
This is a really cool set of tools for exploring structure. On Mon, Feb 20, 2017 at 12:48 PM, Keisuke Miyako via 4D_Tech < 4d_tech@lists.4d.com> wrote: > the way forward is EXPORT STRUCTURE, > which gives you an XML representation of the structure in full detail. > > read

Re: Old doesn't work with object fields

2017-02-22 Thread Kirk Brooks via 4D_Tech
Jeff, On Wed, Feb 22, 2017 at 10:03 AM, Jeffrey Kain via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Doesn't Modified only work in a form event? > ​Yep - my bad. ​ > So it turns out that Old works fine with an object field, but you can't do > an = comparison. I think what I'm going to do is the

Re: Old doesn't work with object fields

2017-02-22 Thread Jeffrey Kain via 4D_Tech
Awesome, thanks Cannon! Jeff -- Jeffrey Kain jeffrey.k...@gmail.com > On Feb 22, 2017, at 1:27 PM, Cannon Smith via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Hi Jeff, > >> If ((JSON Stringify($fieldPtr->))#(JSON Stringify(Old($fieldPtr-> > > This only works if the order of the keys in

Re: Old doesn't work with object fields

2017-02-22 Thread Cannon Smith via 4D_Tech
Hi Jeff, > If ((JSON Stringify($fieldPtr->))#(JSON Stringify(Old($fieldPtr-> This only works if the order of the keys in the object stays the same which may not be true depending on how you change the object. I’ve pasted in a method below that you can use to compare two objects which

Re: Old doesn't work with object fields

2017-02-22 Thread Lee Hinde via 4D_Tech
4D unpacks it the same each time? > On Feb 22, 2017, at 10:03 AM, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > If ((JSON Stringify($fieldPtr->))#(JSON Stringify(Old($fieldPtr-> > > Seems really inefficient, but it works.

Re: Old doesn't work with object fields

2017-02-22 Thread Jeffrey Kain via 4D_Tech
Doesn't Modified only work in a form event? So it turns out that Old works fine with an object field, but you can't do an = comparison. I think what I'm going to do is the following: If ((JSON Stringify($fieldPtr->))#(JSON Stringify(Old($fieldPtr-> Seems really inefficient, but it works.

Re: Old doesn't work with object fields

2017-02-22 Thread Kirk Brooks via 4D_Tech
Jeff, I think this is going to track back to a discussion some time ago about trying to compare two c-objects, or JSON, to each other. It turns out to be really tricky. For instance: JSON a: {key1:1234, key2:"abcd"} is that equal to {key2:"abcd", key1:1234} or {key2:"abcd", key1:"1234"}

RE: Why doesn't 4D generate a crash log or report?

2017-02-22 Thread Timothy Penner via 4D_Tech
It should automatically log something. If on Windows check * The event viewer for a crash event (or any other type of event related to 4D around the same time) * Next to the 4D.exe or 4DServer.exe there may be a DMP file that can be used by 4D Tech Support to obtain more information; this may

Old doesn't work with object fields

2017-02-22 Thread Jeffrey Kain via 4D_Tech
The subject says it all. It's not documented. Is there a good generic way to see if an object field has changed from within a trigger? -- Jeffrey Kain jeffrey.k...@gmail.com ** 4D Internet Users Group (4D iNUG) FAQ:

Re: Survey on 4D’s strategy for implementing Preemptive Processing / worker processes

2017-02-22 Thread James Crate via 4D_Tech
It’s not very sophisticated. 4D pushes data to PostgreSQL, or retrieves data from PostgreSQL, based on either user-triggered actions or periodic task execution. At no point does the Rails/PostgreSQL system access 4D. The fact that 4D uses SQL to access the PostgreSQL database has specific

4D Developer Positions Available

2017-02-22 Thread Larry Wolf via 4D_Tech
Hi, We have two work from home positions open for 4D Developers. Here’s the link: http://www.cyberwolf.com/Jobs.aspx Regards, Larry Lawrence Wolf, President CyberWolf Inc. http://www.cyberwolf.com/ ** 4D Internet Users

Re: JPR_Text2Pict and Objects, a perfect engagement...

2017-02-22 Thread JPR via 4D_Tech
[JPR] Hi Wayne, In fact, there is a solution, suggested by Vincent de Lachaux, the author of 4D SVG Component. You can use the component method SVG_New_textArea, this command does the job, by using a specific tag instead of the CR. Have a look on the 4D SVG documentation, it may help you to