Re: 4D v17 & macOS Mojave beta

2018-10-25 Thread JOHN BAUGHMAN via 4D_Tech
One of my client’s decided to upgrade a computer to Mojave and reported that 4D 
was creating.

I think I have narrowed down the problem at least for my application. It looks 
like any form that has static pictures or maybe even picture buttons causes 4D 
to crash both in the design environment as soon as you select it in the 
Explorer as well as when the form is opened during run time.

If I go through all my forms in the design environment, the only ones that 
crash 4D have at least one picture in it.

This is 4D 16R6 32bit interpreted. I have not taken the time yet to convert all 
my pictures in this database for compatibility
With 64bit 4D. Was waiting until I was ready to convert to 64bit. I suspect 
this may the the root of the problem.

I also suspect this is the reason another thread reported crashes while trying 
to compile.

I would be interested to here from those that are running on Mojave 
successfully if they have any forms with pictures in their forms that have not 
been made 64bit compatible.

John


John Baughman
Kailua, Hawaii
(808) 262-0328
john...@hawaii.rr.com

> On Aug 24, 2018, at 5:30 PM, cswirth via 4D_Tech <4d_tech@lists.4d.com> wrote:
> 
> I'm running v17 standalone and remote on Mojave with no issues...
> 
> Scott Wirth
> 
> 
> 
> --
> Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
> **
> 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
> **

**
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: v16R6 Crashing on Compile

2018-10-25 Thread Jim Hays via 4D_Tech
We don't use much SQL at all, but I'll check.  Working with 4D support, we
found that removing some things from the old 4DX folders helps.
We still had Basic4D in there!!   That functionality isn't used much and
can be replaced with WSCRIPT.

In brief testing, it compiles about 4x then crashes, but can be compiled
again.

(Closing windows didn't make a difference)

And it also does compile better on v17, but we haven't given that a
rigorous test, nor do we have a deployment license.

Jim


On Thu, Oct 25, 2018 at 5:39 PM Jeffrey Kain via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> I'm remembering something about really long statements inside a Begin SQL
> or something like that.  It's been fixed but I don't remember when.  It was
> only if dot notation was either enabled or disabled.
>
> So maybe something like that?
>
> > On Oct 25, 2018, at 5:18 PM, Jim Hays via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
> >
> > Our app is crashing constantly when we try to compile.
> > Windows 10 desktops, Windows Server 2008 R2.
> > Structure is around 75 MB.  We have been deploying this app for nearly 20
> > years.
> >
> > For a while, we could Repair and Compact and then compile, but that isn't
> > working anymore.
> > We have a support case open with 4D, but no answers yet.
>
> **
> 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
> **
**
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: v16R6 Crashing on Compile

2018-10-25 Thread lists via 4D_Tech
I have the same issue.  I have found that I have to close all open windows in 
the structure to avoid the crash.

The same structure compiles without an issue in v17 without closing anything.

HTH,

Lahav

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Jim Hays via 4D_Tech
Sent: Thursday, October 25, 2018 3:19 PM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Jim Hays 
Subject: v16R6 Crashing on Compile

Our app is crashing constantly when we try to compile.
Windows 10 desktops, Windows Server 2008 R2.
Structure is around 75 MB.  We have been deploying this app for nearly 20 years.

For a while, we could Repair and Compact and then compile, but that isn't 
working anymore.
We have a support case open with 4D, but no answers yet.

Anyone having trouble like this?

Thanks,
Jim
**
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
**
**
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: v16R6 Crashing on Compile

2018-10-25 Thread Jeffrey Kain via 4D_Tech
I'm remembering something about really long statements inside a Begin SQL or 
something like that.  It's been fixed but I don't remember when.  It was only 
if dot notation was either enabled or disabled.

So maybe something like that?

> On Oct 25, 2018, at 5:18 PM, Jim Hays via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Our app is crashing constantly when we try to compile.
> Windows 10 desktops, Windows Server 2008 R2.
> Structure is around 75 MB.  We have been deploying this app for nearly 20
> years.
> 
> For a while, we could Repair and Compact and then compile, but that isn't
> working anymore.
> We have a support case open with 4D, but no answers yet.

**
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
**

v16R6 Crashing on Compile

2018-10-25 Thread Jim Hays via 4D_Tech
Our app is crashing constantly when we try to compile.
Windows 10 desktops, Windows Server 2008 R2.
Structure is around 75 MB.  We have been deploying this app for nearly 20
years.

For a while, we could Repair and Compact and then compile, but that isn't
working anymore.
We have a support case open with 4D, but no answers yet.

Anyone having trouble like this?

Thanks,
Jim
**
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: [ANN] Q2Pix 1.0b2 available

2018-10-25 Thread JOHN BAUGHMAN via 4D_Tech

Ooops, This was meant to be a private message to Escape support, but I guess it 
could be a general question about why a picture created on an iPhone (HAIF) 
converted to jpeg by the OS in an Airdrop transfer may not be the same as a 
jpeg saved directly to the computer from a digital camera? At least an HAIF to 
jpeg conversion is what I think is happening.

John



> On Oct 24, 2018, at 10:05 PM, JOHN BAUGHMAN  wrote:
> 
> Hi Danis,
> 
>   I am running in to a strange problem with QPix (3.7b2 and 4D v16R6 
> Client/Server on Mac OS 10.13.6). The following is returning error -50, 
> Parameter Error…
> 
>   $eror:=QPx_SetAreaPicture 
> (eQPixEdit;aPicturesToEditPtr{aPictureThumbs}->)
>   
>   This installation has been running for several years and continues to 
> run without any problems using a Sony digital camera. My client decided they 
> wanted to start taking the pictures with an iPhone but are getting this 
> error. It only happens with pictures taken by the iPhone. They are taking the 
> following steps to get the pictures into 4D…
> 
>   1. Take the photos on the iPhone. (I believe they are in HEIF format at 
> this point). Up to 16 photos are taken.
>   2. Airdrop the selected photos to their computer.
>   3. Accept the photos into the download folder (They are now jpegs and 
> all look good).
>   4. Move the selected photos into a new folder created for that patient. 
> (Still look good)
>   5. import photos from folder into 4D. They all look good in 4D.   Using…
>   $Error:=QPx_ReadImageFileInPicture 
> ($FullPathToDocuemnt;$loadedPicture) 
>   Also tried…
>READ PICTURE FILE
> 
>   Any attempt to load any of these pictures into a QPix Area gets this 
> error, leaving the area empty.
>   
>   What might be going on here. Any help would be greatly appreciated. If 
> you want I can send you a set of problematic photos. The zipped file is 14 mb.
> 
>   Also, have not heard anything more on Q2Pix. Is it close to coming out 
> of beta. I am sorry that I was not able to help you test the beta.
> 
> 
> Thanks,
> 
> John

**
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: Icon & Picture Button Sources...

2018-10-25 Thread Mike Kerner via 4D_Tech
so what can we do about existing projects that have a pile of forms
already, besides manually redoing them?

On Wed, Oct 24, 2018 at 11:36 PM Robert ListMail via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Thanks Rudy and Stephen, you’ve given me some things to consider. It’s
> been a long time since I’ve customized buttons. Back in 1994 I used
> photoshop to create some custom buttons but it seems it’s been a while.
> I’ve inherited many different apps over the years and never paid close
> attention to these resources. Now, with v17 we are forced to update these
> objects. Of course they really needed to be refreshed anyway—buttons cannot
> live forever. :)
>
> Thanks,
>
> Robert
>
> Sent from my iPhone
>
> > On Oct 24, 2018, at 10:23 AM, Two Way Communications via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > Actually, I prefer to roll my own.
>
> **
> 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
> **



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
**
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: Leaving the .4DB behind??

2018-10-25 Thread Mike Kerner via 4D_Tech
Definitely.  We use git for everything - our erp source code, mobile apps
source, etc. are all version-controlled, so getting structure files out as
json or yaml files would bring 4d out of the 2009's.

On Tue, Oct 23, 2018 at 4:39 PM Benedict, Tom via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Robert says:
>
> >But what if the structure was that collection of files and that 4D runs as
> >it always does but the github version management is always in play without
> >an export? What if the .4db is simply a package that didn't have to be
> there?
> >Just a thought. I think at a minimum, we will be one mouse-click from
> exporting
> >the code, as you can see from the new v17r3 release and I'm assuming
> we'll be
> >able to import that same code to build a .4b from scratch. My idea saves
> the
> >conversion steps, all other functionality would be identical.
>
> I don't know anything about how v17r3 supports exporting code and forms to
> a source code repository. Is it triggers by 4D Macros, like MethodHistory
> which could trigger code when saving a method or is it something else? That
> would be nice, but you would still need an explicit "Commit" capability.
>
> Ideally you could have a distributed team of developers all working on
> local copies of the 4D structure, with local test data. Once their changes
> are complete and unit tested they could be "checked in" to a github. From
> there an automated "continuous build" process would periodically grab all
> checked-in code and forms and build and deploy an updated structure to a
> test server where testers would validate the changes.
>
> From the sound of things, we are only one step away from being able to
> create this kind of build/deploy environment in 4D. This is would really
> move 4D in the right direction, from an Enterprise acceptance point of view.
>
> Tom Benedict
> Optum
> This e-mail, including attachments, may include confidential and/or
> proprietary information, and may be used only by the person or entity
> to which it is addressed. If the reader of this e-mail is not the intended
> recipient or his or her authorized agent, the reader is hereby notified
> that any dissemination, distribution or copying of this e-mail is
> prohibited. If you have received this e-mail in error, please notify the
> sender by replying to this message and delete this e-mail immediately.
> **
> 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
> **



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
**
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: Longing IDs or UUIDs as primary key?

2018-10-25 Thread Two Way Communications via 4D_Tech
Thanks to all of you for the valuable insights. Seems I’ve got some work to do 
;-)

Regards,

Rudy Mortier
Two Way Communications bvba 



> On 24 Oct 2018, at 19:17, Chuck Miller via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> No it is just painful let’s assume for some reason record in a many table 
> where assigns to wrong main table which would you rather type in to fix 
> 145764 or a 32 character UUID
> In my opinion the journal aspect should have been hidden by 4D and the UUID 
> field should have been there but hidden
> 
> 
> Regards
> 
> Chuck
> 
> Sent from my iPhone
> 
>> On Oct 24, 2018, at 11:59 AM, Keith Culotta via 4D_Tech 
>> <4d_tech@lists.4d.com> wrote:
>> 
>> RE: never use them to link between tables
>> 
>> Is using them to link between tables (establish 4D Relations, correct?) a 
>> hazardous practice? 
>> 
>> Thanks,
>> Keith - CDI
>> 
>>> On Oct 24, 2018, at 10:49 AM, Charles Miller via 4D_Tech 
>>> <4d_tech@lists.4d.com> wrote:
>>> 
>>> Rudy
>>> 
>>> For me this always choose UUID for primary key and never use them to link
>>> between tables. The overhead from space is not so great Andy I never want
>>> to type in uuid to find related records etc
>>> 
>>> Regards
>>> 
>>> Chuck
>>> 
>>> On Wed, Oct 24, 2018 at 10:52 AM Two Way Communications via 4D_Tech <
>>> 4d_tech@lists.4d.com> wrote:
>>> 
 I have an application with a big database file ( + 60 GB), with 128
 tables. (4D v17)
 
 All id fields and foreign keys are of type longint.
 
 Now, for replication and sharing purposes, I would like to change the type
 to UID.
 
 The process seems quite cumbersome: to start, I need to remove the
 ‘primary key’ flag from all the ID fields, then I need to add UID fields to
 every table,
 change the foreign keys as well, and use apply formula to make sure the
 relations are intact. I am a bit worried that this will have a major impact
 on the size of the data file.
 
 Furthermore, I need to automate the whole process so the upgrade works
 flawlessly at the customers site.
 
 Has anyone ever done this?
 Any tips?
 
 Regards,
 
 Rudy Mortier
 Two Way Communications bvba
 
 
>> 
>> **
>> 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
>> **
> 
> **
> 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
> **

**
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: Longing IDs or UUIDs as primary key?

2018-10-25 Thread Two Way Communications via 4D_Tech
It’s a setting in the properties of the listbox column


Rudy Mortier
Two Way Communications bvba 


> On 25 Oct 2018, at 04:47, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> how do you do this?
> 
> 
>> In 4D list boxes, a column can be set up to show an ellipsis in the 
>> middle of a string (instead of the end) when a column is too small. 
>> This is perfect for UUID columns. Just make them wide enough to only 
>> show the first and last 3 characters. Just as easy as a longint, 
>> really.
> 
> Hell is other people 
> Jean-Paul Sartre
> **
> 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
> **

**
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: [ANN] Q2Pix 1.0b2 available

2018-10-25 Thread JOHN BAUGHMAN via 4D_Tech
Hi Danis,

I am running in to a strange problem with QPix (3.7b2 and 4D v16R6 
Client/Server on Mac OS 10.13.6). The following is returning error -50, 
Parameter Error…

$eror:=QPx_SetAreaPicture 
(eQPixEdit;aPicturesToEditPtr{aPictureThumbs}->)

This installation has been running for several years and continues to 
run without any problems using a Sony digital camera. My client decided they 
wanted to start taking the pictures with an iPhone but are getting this error. 
It only happens with pictures taken by the iPhone. They are taking the 
following steps to get the pictures into 4D…

1. Take the photos on the iPhone. (I believe they are in HEIF format at 
this point). Up to 16 photos are taken.
2. Airdrop the selected photos to their computer.
3. Accept the photos into the download folder (They are now jpegs and 
all look good).
4. Move the selected photos into a new folder created for that patient. 
(Still look good)
5. import photos from folder into 4D. They all look good in 4D.   Using…
$Error:=QPx_ReadImageFileInPicture 
($FullPathToDocuemnt;$loadedPicture) 
Also tried…
 READ PICTURE FILE

Any attempt to load any of these pictures into a QPix Area gets this 
error, leaving the area empty.

What might be going on here. Any help would be greatly appreciated. If 
you want I can send you a set of problematic photos. The zipped file is 14 mb.

Also, have not heard anything more on Q2Pix. Is it close to coming out 
of beta. I am sorry that I was not able to help you test the beta.


Thanks,

John


John Baughman
Kailua, Hawaii
(808) 262-0328
john...@hawaii.rr.com

> On Jul 9, 2018, at 6:43 AM, Danis Georgiadis via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> Hi John,
> 
>>  How backward compatible will an existing deployed QPix installation  be 
>> with Q2Pix? I am upgrading my QPix using client to R6 this weekend in 
>> anticipation of a follow on 64bit upgrade which will require upgrading to 
>> Q2Pix.
> 
> 
> Q2Pix is a new product for a new generation of 4D applications. So no, it is 
> not backwards compatible with QPix.
> 
> First because we’ve all moved forward after so many years. Also because the 
> recent versions of 4D are also very different - and much better, actually.
> 
> This doesn’t mean that it’s difficult, though. Get to know it and understand 
> how it works, and you’ll see that it’s actually much better and easier to 
> work with than the old QPix.
> 
> Q2Pix does much more and without QuickTime’s help this time. It employs a 
> document concept (open document, edit document, save document), it integrates 
> XMP metadata, it supports PDF (without the need of 3rd party software on 
> Windows), and much more. It also uses lots of modern 4D goodness (C_OBJECT’s, 
> JSON, components, widgets) which makes it much more compatible with 4D down 
> the road.
> 
> 
>> How soon do you expect to be out of beta?
> 
> 
> There are still a couple of features to add to bring it up to parity with 
> QPix. We are targeting a final release in September.
> 
> 
>> Do you think the beta is solid enough for deployment, or should I wait until 
>> you are out of beta?
> 
> 
> The features already implemented look quite solid. A few developers have been 
> using it in production since b1. 
> 
> 
>>  I want to thank you for continuing your commitment to QPix. It has been 
>> perhaps the most reliable and useful plug-in that I have deployed and your 
>> support over the years has been great. I look forward to working with the 
>> new version.
> 
> 
> Thank you for the kind words, John. Working with you has always been a 
> pleasure. 
> 
> Kind regards,
> 
> -Danis
> 
> 
>> 
> 
>>> On Jul 7, 2018, at 1:27 AM, Danis Georgiadis via 4D_Tech 
>>> <4d_tech@lists.4d.com> wrote:
>>> 
>>> We are excited to announce the availability of Q2Pix 1.0b2, the second 
>>> public beta release of the modern successor to QPix.
>>> 
>>> Many thanks to our beta testers for their valuable reports and feedback.
>>> 
>>> Hoping you will like Q2Pix as much as we do, we look forward to hearing 
>>> from you.
>>> 
>>> Kind regards,
>>> 
>>> - Escape Tech
>>> 
>>> ~~~
>>> 
>>> 
>>> About Q2Pix
>>> ===
>>> 
>>> Q2Pix is the first of a new generation of 4D Extensions. We no longer call 
>>> them "plug-ins" because they are more than that. The architecture of these 
>>> new products comprises 4D plug-ins, components, frameworks, open-source 
>>> libraries; they work with the latest 4D versions; they make extensive use 
>>> of modern 4D features such as subforms, objects and JSON.
>>> 
>>> 
>>> Key features
>>> 
>>> 
>>> - Full 32/64-bit, 4D v16/64 or later recommended.
>>> - QuickTime-free.
>>> - Exposes an object model.
>>> - Document-based programming interface.
>>> 

Re: Creating button icons with Photoshop

2018-10-25 Thread Robert ListMail via 4D_Tech
Doug, did you find that? I’m working on a few button strategies myself. 

Sent from my iPhone

> On Feb 9, 2017, at 2:38 PM, Doug Hall  wrote:
> 
> Earlier today I ran across directions in the 4D documentation on how to use
> Photoshop to create the four different layers of of a rollover button
> picture for 4D. Now, for the life of me, I can't find it. Anyone know right
> where this is, and could post the link?
> 
> Thanks!
> **
> 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)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**