Re: Listbox cell - On Data Change - how to tell old and new values?

2016-10-26 Thread Wayne Stewart
Look at On Display Detail

Regards,

Wayne


Wayne Stewart
about.me/waynestewart




On 15 October 2016 at 10:19, Keith Goebel  wrote:
> Kirk, thanks for your reply.
> I would have thought so too, but it doesn’t (for me anyway).
> The Old value, when tested by the On Data Change event, matches the entered 
> value not the value before the cell edit.
>
> Seems weird that nobody else on this list has a need to do this.
> I wish i could say “I’m first!” for things other than 4D “unexpected 
> features".:-)
>
>> … I'm not sure how long you can count on modified changes NOT
>> being saved but I am certain OLD will work while you are editing that
>> specific field...
> **
> 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: Windows 10 Notifications

2016-10-26 Thread Jeffrey Kain
http://doc.4d.com/4Dv15/4D/15.1/DISPLAY-NOTIFICATION.301-2685749.en.html 


> On Oct 26, 2016, at 10:19 PM, Sujit Shah  wrote:
> 
> The other day I saw some 4D compiler notifications appear in Windows
> Notifications. How does this work?

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

Windows 10 Notifications

2016-10-26 Thread Sujit Shah
The other day I saw some 4D compiler notifications appear in Windows
Notifications. How does this work?

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
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
**

Window Types on Windows 10

2016-10-26 Thread Sujit Shah
I am looking for a window type which is resizable, has grow box and  a
close box. I am using window type "8" but I am hoping to have a white
background for the title. I can see the main 4D MDI window has a white
title bar. Which window type is it?

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
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: PHP random errors

2016-10-26 Thread Justin Carr
On 26 Oct 2016, at 6:51 pm, Paul Dennis  wrote:
> 
> I have one app on port 8002 and the other on 8010 but I get error if I try to
> run php simultaneously on both.
> 
> Error code: 500
> FastCGI client error in context "{context}".
> Environment info: UseExternalServer = {use_ext}, ip = {ip}, port = {port},
> ExecutablePath = {path}.
> component: 'FCGI'
> task -6, name: 'P_2'

Hi Paul

I think you also have to adjust the php.ini file (in the Resources folder) for 
each application to set the session.save_path directive to separate values to 
avoid conflicts with each other.

regards
Justin
**
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: v13 - getting list of method names

2016-10-26 Thread Douglas von Roeder
Chip:

You're very welcome!

--
Douglas von Roeder
949-336-2902

On Wed, Oct 26, 2016 at 5:01 PM, Chip Scheide <4d_o...@pghrepository.org>
wrote:

>
> THANKS!
>
> On Wed, 26 Oct 2016 16:36:17 -0400, Chip Scheide wrote:
> > I know that there are now methods to get... um... method access in a
> > database.
> > I can not figure out what these are?
> >
> > Can some one please point me in the right direction.
> > All I need is a list of methods
> >
> > Thanks
> > Chip
> > **
> > 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
> **
>
**
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: v13 - getting list of method names

2016-10-26 Thread Chip Scheide

THANKS!

On Wed, 26 Oct 2016 16:36:17 -0400, Chip Scheide wrote:
> I know that there are now methods to get... um... method access in a 
> database.
> I can not figure out what these are?
> 
> Can some one please point me in the right direction.
> All I need is a list of methods
> 
> Thanks
> Chip
> **
> 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: v13 - getting list of method names

2016-10-26 Thread Douglas von Roeder
ARRAY TEXT($methodPath_AT;0)
METHOD GET PATHS(Path Project method;$methodPath_AT)

--
Douglas von Roeder
949-336-2902

On Wed, Oct 26, 2016 at 4:36 PM, Chip Scheide <4d_o...@pghrepository.org>
wrote:

> I know that there are now methods to get... um... method access in a
> database.
> I can not figure out what these are?
>
> Can some one please point me in the right direction.
> All I need is a list of methods
>
> Thanks
> Chip
> **
> 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: v13 - getting list of method names

2016-10-26 Thread Arnaud de Montard

> Le 26 oct. 2016 à 22:36, Chip Scheide <4d_o...@pghrepository.org> a écrit :
> 
> I know that there are now methods to get... um... method access in a 
> database.
> I can not figure out what these are?
> 
> Can some one please point me in the right direction.
> All I need is a list of methods



-- 
Arnaud de Montard 


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

v13 - getting list of method names

2016-10-26 Thread Chip Scheide
I know that there are now methods to get... um... method access in a 
database.
I can not figure out what these are?

Can some one please point me in the right direction.
All I need is a list of methods

Thanks
Chip
**
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: Connecting to a 4D Server via ODBC

2016-10-26 Thread Jeffrey Kain
Yep - we do the same thing here with our FedEx shipping computers.

We're probably going to replace the FedEx machines with our own code written in 
4D (it can be done), but that's a significant project.

--
Jeffrey Kain
jeffrey.k...@gmail.com




> On Oct 26, 2016, at 12:01 AM, Dave Nasralla  wrote:
> 
> Am I getting this correct?

**
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: Need help setting up oAuth with cURL

2016-10-26 Thread Spencer Hinsdale

Hi Miyako,

I recently tried replacing OAuth.bundle (10/10/14)  with cURL.bundle (9/30/16) 
and ran into a problem with Error 60:
Peer certificate cannot be authenticated with known CA certificates.

I found that I could work around the problem by setting
CURLOPT_SSL_VERIFYPEER
to zero, which didn't seem like a great idea so I reverted :)

I tested against bigcommerce.com and shopify.com, getting the same error, using 
15.2 on El Capitan with Firewall off.  I did not have common-crypto installed.

I would be happy to post code, re-test, etc..

Thanks!

Spencer

> On Oct 26, 2016, at 8:35 AM, Keisuke Miyako  wrote:
> 
> the command names are exactly the same, nothing has changed other than the 
> name of the 2 plugins (the plugin has been split).
> code written for the old plugin will work "as is" with the "curl" and 
> "common-crypto" plugins.

**
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: Need help setting up oAuth with cURL

2016-10-26 Thread Keisuke Miyako
ah, you got me there, it's called "Get unixtime" in common-crypto.

unix time is the time passed since 1 January 1970
https://en.wikipedia.org/wiki/Unix_time

> 2016/10/27 1:08、Kirk Brooks  のメール:
> I notice there's one method that's been deleted: SYSTEM Get unixtime
> Easy enough, but does it need to be UTC or local time?



宮古 啓介
セールス・エンジニア

株式会社フォーディー・ジャパン
〒150-0043
東京都渋谷区道玄坂1-10-2 渋谷THビル6F
Tel: 03-6427-8441
Fax: 03-6427-8449

keisuke.miy...@4d.com
www.4D.com/JP

**
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: Need help setting up oAuth with cURL

2016-10-26 Thread Kirk Brooks
Miyako,
Thanks for the reply. I found the presentation you did at the '12 Summit
where you used cURL & oAuth2 to connect to google. I'm working through that
since it details the steps.

I removed the deprecated oAUTH plugin and installed the new cURL and common
crypto.

I notice there's one method that's been deleted: SYSTEM Get unixtime

Easy enough, but does it need to be UTC or local time?

Thanks again.


On Wed, Oct 26, 2016 at 8:35 AM, Keisuke Miyako 
wrote:

> the command names are exactly the same, nothing has changed other than the
> name of the 2 plugins (the plugin has been split).
> code written for the old plugin will work "as is" with the "curl" and
> "common-crypto" plugins.
>

-- 
Kirk Brooks
San Francisco, CA
===
**
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: Need help setting up oAuth with cURL

2016-10-26 Thread Keisuke Miyako
the command names are exactly the same, nothing has changed other than the name 
of the 2 plugins (the plugin has been split).
code written for the old plugin will work "as is" with the "curl" and 
"common-crypto" plugins.

> 2016/10/26 22:31、Kirk Brooks  のメール:
> oAuth plugin is deprecated in favor of cUrl - but I don't see how
> to set the headers properly.



宮古 啓介
セールス・エンジニア

株式会社フォーディー・ジャパン
〒150-0043
東京都渋谷区道玄坂1-10-2 渋谷THビル6F
Tel: 03-6427-8441
Fax: 03-6427-8449

keisuke.miy...@4d.com
www.4D.com/JP

**
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: PHP random errors

2016-10-26 Thread Thomas Maul
> Where is the documentation for this syntax? I can't find it in the Language 
> reference.
http://doc.4d.com/4Dv15R5/4D/15-R5/String.301-2936575.en.html

From Example table:
String(-1;"") "0x"
String(-1;"&$") "$"
String(0 ?+ 7;"") "0x0080"
String(0 ?+ 7;"&$") "$80"
String(0 ?+ 14;"")"0x4000"
String(0 ?+ 14;"&$")"$4000"

Talking about "unknown" but useful formats.
String(50.3;"") "50.3"  Always "." as decimal separator

Super useful if you are running on some European systems (such as German) with 
decimal comma but need to create files (xml, json, etc) with decimal point as 
separator.

Also often missed:
$mydate:=String(Current date;ISO Date;Current time) // returns 
2010-09-13T18:11:53

Nothing of that is really new...


4D Deutschland GmbH
Geschäftsführer Laurent Ribardière Telefon: +49-89-856 33 43-0
Amtsgericht München HRB 92258  Fax: +49-89-856 33 43-99
Obere Hauptstrasse 2   E-Mail:  thomas.m...@4d.com
85386 Eching - Deutschland Web: www.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: PHP random errors

2016-10-26 Thread Pat Bensky
Thomas,

The string(-1;"xxx") format does the trick. Where is the documentation for
this syntax? I can't find it in the Language reference.

On 26 October 2016 at 10:10, Thomas Maul  wrote:

> Mac/Win/version/modified setup?
>
> It might be more efficient to contact tech support to dig in details.
>
> Maybe this helps:
> http://doc.4d.com/4Dv15R5/4D/15-R5/SET-DATABASE-PARAMETER.
> 301-2936925.en.html
>
> Number of child processes to be created and maintained locally by the PHP
> interpreter of 4D
> Note: Under Mac OS, all the child processes share the same port. Under
> Windows, each child process uses a specific port number. The first number
> is the one set for the PHP interpreter; the other child processes increment
> the first one. For example, if the default port is 8002 and you launch 5
> child processes, they will use ports 8002 to 8006.
>
> If you are on Mac or you had not more than 5 child processes - contact
> tech support.
>
>
> 4D Deutschland GmbH
> Geschäftsführer Laurent Ribardière Telefon: +49-89-856 33 43-0
> Amtsgericht München HRB 92258  Fax: +49-89-856 33
> 43-99
> Obere Hauptstrasse 2   E-Mail:  thomas.m...@4d.com
> 85386 Eching - Deutschland Web: www.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
> **
>



-- 
*
CatBase - The Database Publishing Solution
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
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: PHP random errors

2016-10-26 Thread Thomas Maul
Mac/Win/version/modified setup?

It might be more efficient to contact tech support to dig in details.

Maybe this helps:
http://doc.4d.com/4Dv15R5/4D/15-R5/SET-DATABASE-PARAMETER.301-2936925.en.html

Number of child processes to be created and maintained locally by the PHP 
interpreter of 4D
Note: Under Mac OS, all the child processes share the same port. Under Windows, 
each child process uses a specific port number. The first number is the one set 
for the PHP interpreter; the other child processes increment the first one. For 
example, if the default port is 8002 and you launch 5 child processes, they 
will use ports 8002 to 8006.

If you are on Mac or you had not more than 5 child processes - contact tech 
support.


4D Deutschland GmbH
Geschäftsführer Laurent Ribardière Telefon: +49-89-856 33 43-0
Amtsgericht München HRB 92258  Fax: +49-89-856 33 43-99
Obere Hauptstrasse 2   E-Mail:  thomas.m...@4d.com
85386 Eching - Deutschland Web: www.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: PHP random errors

2016-10-26 Thread Paul Dennis
I have one app on port 8002 and the other on 8010 but I get error if I try to
run php simultaneously on both.

Error code: 500
FastCGI client error in context "{context}".
Environment info: UseExternalServer = {use_ext}, ip = {ip}, port = {port},
ExecutablePath = {path}.
component: 'FCGI'
task -6, name: 'P_2'



--
View this message in context: 
http://4d.1045681.n5.nabble.com/PHP-random-errors-tp5747969p5748166.html
Sent from the 4D Tech mailing list archive at Nabble.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
**