RE: Windows users

2017-01-10 Thread stardata.info

I'll try.


Many thanks

Ferdinando

Il 09/01/2017 21:00, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 6
Date: Mon, 9 Jan 2017 19:46:31 +0100
From: Tai Bui
To: 4D iNug Technical<4d_tech@lists.4d.com>
Subject: RE: Windows users
Message-ID: 
Content-Type: text/plain; charset="utf-8"

Hi,

Sorry I think I misunderstood the original question. Did you mean that you want 
to detect the IP address or user name of the client environment connected to 
the Terminal environment over a remote desktop connection through 4D ran on the 
Terminal environment and not on the client environment?

You can do this using LEP:

C_TEXT($in;$out)
$in:=""
LAUNCH EXTERNAL PROCESS("cmd.exe /C netstat -n | find \":3389\" | find 
\"ESTABLISHED\"";$in;$out)


netstat -n | find ":3389" | find "ESTABLISHED"
Will generate a list of remote ip addresses connected through remote desktop, 
which, by default, uses port 3389.

The results, $out, will look something like
TCP{HostIP}:3389{ClientIP:port}   ESTABLISHED\r\n

You can then create a method to parse the text for the Client IP.

Best Regards,
-Tai B.

--

Subject: Digest Footer


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

Datepicker widget

2017-01-10 Thread davidinug
I’m looking for a better date picker widget (native 4D code) that has direct 
month and year selection.

The one I have requires scrolling through months one-at-a-time.

Thanks!

David Ringsmuth

**
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: OB commands, confirming a few points

2017-01-10 Thread John DeSoi
David,

> On Jan 10, 2017, at 9:29 PM, David Adams  wrote:

> OB Get type seems to report that they're object arrays, even if you stashed
> something like a longint array. OB GET ARRAY doesn't want to recast them on
> the fly. (I tried putting in a longint array and pulling it out as an
> object array - what 4D tells me it is - and it choked.)

I think you can cast any array type to a text array (including an object 
array), but not much else.

> 
> Am I missing something here? 4D clearly knows the underlying data type of
> arrays stashed in a C_OBJECT, but I'm unclear how to get it out. I've
> bashed on the JSON Stringify command and some other bits I could find, but
> I don't see even an indirect way to figure out the type.

You are not missing anything. If you want a way to properly serialize and 
unserialize all 4D types, the only viable option is to store the type 
information with the value. 

John DeSoi, Ph.D.
**
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
**

OB commands, confirming a few points

2017-01-10 Thread David Adams
I think that I'm missing some basics on the command set and will be
grateful to anyone that can make me just that bit less foolish going
forward. For reference, all of my root objects are from

JSON Parse ("{}")

So, that's a given.


 Dot Notation

Nope. I knew that from the list already. I care less than many.


 Count Elements

Huh. How do you count things in C_OBJECTs? Like, # of instances of an
object or whatever? I've got a case where OB GET PROPERTY NAMES works
fine...but that's a special case. Am I missing something? I checked the
JSON command suite, but it's quite small and contains nothing like a count
function.


 Blind Iteration

Again, huh? I don't see how you can scan an object generically and explore
its contents. I did a quick-and-dirty code dump routine that takes an
object and then leans on OB GET PROPERTY NAMES to translate everything. The
type result lets you do most of what's needed. I used recursion to explore
nested objects because I didn't feel up to taking the time to writing it
properly without recursion. The real stumbling block is when you've got a
nested array. You can stash and retrieve several array types using OB
GET/SET ARRAY:

   Boolean array
   Longint array
   Object array
   Pointer array
   Real array
   Text array

OB Get type seems to report that they're object arrays, even if you stashed
something like a longint array. OB GET ARRAY doesn't want to recast them on
the fly. (I tried putting in a longint array and pulling it out as an
object array - what 4D tells me it is - and it choked.)

Am I missing something here? 4D clearly knows the underlying data type of
arrays stashed in a C_OBJECT, but I'm unclear how to get it out. I've
bashed on the JSON Stringify command and some other bits I could find, but
I don't see even an indirect way to figure out the type. I expect trying
each of the available array types with an error handler until something
works could get it done but, well, that makes me feel like I must be
missing something obvious.

Thanks for any help.
**
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 UI code questions and observations

2017-01-10 Thread Chuck Miller
I would not go back and change existing code that works to do this. I might and 
have made use of objects rather than variable on forms when appropriate. I do 
not think all items on form should be objects, variables, or fields. I think it 
depends

Regards
Chuck



 Chuck Miller Voice: (617) 739-0306
 Informed Solutions, Inc. Fax: (617) 232-1064   
 mailto:cjmillerinformed-solutions.com 
 Brookline, MA 02446 USA Registered 4D Developer
   Providers of 4D and Sybase connectivity
  http://www.informed-solutions.com  

This message and any attached documents contain information which may be 
confidential, subject to privilege or exempt from disclosure under applicable 
law.  These materials are intended only for the use of the intended recipient. 
If you are not the intended recipient of this transmission, you are hereby 
notified that any distribution, disclosure, printing, copying, storage, 
modification or the taking of any action in reliance upon this transmission is 
strictly prohibited.  Delivery of this message to any person other than the 
intended recipient shall not compromise or waive such confidentiality, 
privilege or exemption from disclosure as to this communication. 

> On Jan 9, 2017, at 9:19 PM, Mitchell Shiller  wrote:
> 
> Could any of you give me an  ‘"elevator pitch” of why someone ( well  in this 
> case, me) would want to go through the effort of making the substantive 
> changes necessary to implement this model?
> What advantages are there over “standard” 4D?
> What disadvantages are there compared to “Standard” 4D?

**
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: SETS from Server to Client

2017-01-10 Thread Chuck Miller
Additional comment, how long between create  of set and use of set. If short 
duration. I would use command longint to array and put into an array and use 
get process variable on client and then create set with command below

Regards
Chuck

 Chuck Miller Voice: (617) 739-0306
 Informed Solutions, Inc. Fax: (617) 232-1064   
 mailto:cjmillerinformed-solutions.com 
 Brookline, MA 02446 USA Registered 4D Developer
   Providers of 4D and Sybase connectivity
  http://www.informed-solutions.com  

This message and any attached documents contain information which may be 
confidential, subject to privilege or exempt from disclosure under applicable 
law.  These materials are intended only for the use of the intended recipient. 
If you are not the intended recipient of this transmission, you are hereby 
notified that any distribution, disclosure, printing, copying, storage, 
modification or the taking of any action in reliance upon this transmission is 
strictly prohibited.  Delivery of this message to any person other than the 
intended recipient shall not compromise or waive such confidentiality, 
privilege or exemption from disclosure as to this communication. 

> On Jan 9, 2017, at 7:38 PM, Keisuke Miyako  wrote:
> 
> but if you must, take a look at commands like
> 
> CREATE SET FROM ARRAY
> http://doc.4d.com/4Dv16/4D/16/CREATE-SET-FROM-ARRAY.301-3037050.en.html 
> 
**
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: Initiating a new process

2017-01-10 Thread John DeSoi

> On Jan 10, 2017, at 3:49 PM, Kirk Brooks  wrote:
> 
> ​OK, this isn't like a cure for cancer or anything but it sort of follows
> the other discussions about setting up code in 4D. The things I like about
> it:

It is a reasonable work-around for New process, but there are several other 
commands that need a method name (ON ERR CALL, EXECUTE METHOD, etc.). It would 
be great if 4D had a function (e.g. Method name) that takes a *tokenized* 
method (not a string) and just returns the method name without executing it. 
Example:

ON ERR CALL(Method name(MY_ERROR_HANDLER))

instead of 

ON ERR CALL("MY_ERROR_HANDLER")

I added a feature request for this in the middle of last year. You can vote for 
it here if you agree:

http://forums.4d.fr/Post/EN/17984703/1/17984704#17984704

John DeSoi, Ph.D.


**
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: How to halt execution, to avoid Quit 4D

2017-01-10 Thread Timothy Penner
> Yes this is the problem.  One way to switch is to start 4d and instead of 
> using a shortcut on the splash screen or a choice in recent menu, go File, 
> Open, Local Database.  On the Open dialog you can choose Compiled/Interpreted 
> and Current/Other/New Data File.

http://kb.4d.com/assetid=76900

-Tim

**
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: How to halt execution, to avoid Quit 4D

2017-01-10 Thread Lee Hinde

> On Jan 10, 2017, at 3:46 PM, Doug Hall  wrote:
> 
> I have an alert box that declares a certain plugin is not properly
> licensed. The very next command is Quit 4D. In a former version of 4D, I
> could hold down ++, and then click the alert button,
> and it would automatically continue in trace mode. How do I do this in v15?
> I last asked to run it in compiled mode. Is this the problem? If so, how do
> I get it to open back up in interpreted mode?
> 

On the later, just use File/Open from within 4D and you will have an option to 
open the database in interpreted or compiled mode.


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

How to halt execution, to avoid Quit 4D

2017-01-10 Thread Doug Hall
I have an alert box that declares a certain plugin is not properly
licensed. The very next command is Quit 4D. In a former version of 4D, I
could hold down ++, and then click the alert button,
and it would automatically continue in trace mode. How do I do this in v15?
I last asked to run it in compiled mode. Is this the problem? If so, how do
I get it to open back up in interpreted mode?

Thanks,
Doug Hall
**
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: Combined Getter and Setter

2017-01-10 Thread bernard
I have published a component on Forum4D with that comment :

This component emulates 4D standard commands for objects such as OB Set or OB 
Get to add access to properties or sub-objects by path with dot notation.
It has been clearly inspired by OBJ_Module of Cannon Smith but differs by :
- it emulates standard commands and does not have commands by type
- it resolves paths with arrays elements
- it gives some advanced controls such as search in an array by the value of a 
property.
It does not intend to replace all functions of OBJ_Module.
You can download it here 
.
Method OBJ_Test gives several operational examples ; some functions are not yet 
implemented.

My answer is that I separate setter and getter ; the two commands have same 
syntax and you can copy the setter, change one letter and have the getter 
 OBJ_Set(MyObject;"MyPath";->MyValue)
 ... do something
 OBJ_Get(MyObject;"MyPath";->MyValue)


Direct access to the post where you can download the component : 
http://forums.4d.fr/Post//18896257/1/  

Cordialement,

Bernard Escaich


> Le 9 janv. 2017 à 01:47, Wayne Stewart  a écrit :
> 
> Hi,
> 
> With all the recent object stuff, I notice most people are using either
> Cannon's excellent OBJ module or similar.
> 
> I have extended it so I have one routine do both tasks, I like this as it
> means I only have one method to remember and not two.  There is obviously
> some overhead copying the variable into $0 but I've never seen any impact
> from this.  At least not with the variables I've used.
> 
> Does anyone else do this?
> 
> If you don't, why not?
> 
> Eg (based on Cannon's module):
> 
> C_OBJECT($AnObject_o)
> C_TIME($WhenStarted_h;$WhenFinished_h)
> 
> $AnObject_o:=OBJ_Create
> OBJ_Set_Time ($AnObject_o;"Start";Current time)
> $WhenStarted_h:=OBJ_Get_Time ($AnObject_o;"Start")
> 
> FO_Time ($AnObject_o;"Finished";Current time)
> $WhenFinished_h:=FO_Time ($AnObject_o;"Finished")
> 
> Internally FO_Time does this:
> 
> C_OBJECT($1;$Object_o)
> C_TEXT($2;$Key_t)  //Can use dot notation
> C_TIME($3;$Value_h;$0)
> 
> $Object_o:=$1
> $Key_t:=$2
> 
> If (Count parameters=3)
>  $Value_h:=$3
>  OBJ_Set_Time ($Object_o;$Key_t;$Value_h)
> Else
>  $Value_h:=OBJ_Get_Time ($Object_o;$Key_t)
> End if
> 
> $0:=$Value_h  //  Always return a value, 4D doesn't mind if you don't
> receive it
> 
> 
> Regards,
> 
> Wayne
> 
> 
> [image: --]
> Wayne Stewart
> [image: http://]about.me/waynestewart
> 
> **
> 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: Implementing Audit Trails

2017-01-10 Thread Peter Bozek
On Tue, Jan 10, 2017 at 9:53 PM, Dave Nasralla  wrote:

> Right. In one system people with high level access can request to see
> a social security number of an employee. The system records who viewed
> it, and the user must enter a "why" they are viewing it.
>

I was following the debate only lightly, so maybe this question was already
discussed: do you keep complete audit trail in data file or export it to
another system?

I maintain two system that keep audit trail and the table with log records
grows really fast  - in one case (20+ workstations) most of the 10+GB data
file consist of audit trail table, even when it deletes records older then
6 months. The deletion of log entries cancels the main benefit of audit
trail and is a relict of the past, I could disable it and let the data
grow, but maybe there are better way how to handle it (export to separate
single user app?)

-- 

Peter Bozek
**
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: Listbox Mysteries

2017-01-10 Thread Charles Miller
On Fri, Jan 6, 2017 at 3:49 PM,  wrote:

> > If the cell is tied to a numeric array, when you click in it, a "0"
> (zero) appears.  I don't want this, users tend to get annoyed when that
> extra zero is added to whatever number they are entering (particularly if
> the zero is added to the right side of the number - 20 becomes 200).  How
> to elimininate this behavior, of displaying a 'zero' in an empty cell that
> has focus?  Cells that don't have focus don't display zeros...
>

Why not set to text array and filter all but numbers, period and minus
sign. It will then display a blank or set format to ## which I think
will also display a blank

Regards
Chuck


-- 
-
 Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
 Informed Solutions, Inc.
 Brookline, MA 02446 USA Registered 4D Developer
   Providers of 4D, Sybase & SQL Sever connectivity
  http://www.informed-solutions.com
-
This message and any attached documents contain information which may be
confidential, subject to privilege or exempt from disclosure under
applicable law.  These materials are intended only for the use of the
intended recipient. If you are not the intended recipient of this
transmission, you are hereby notified that any distribution, disclosure,
printing, copying, storage, modification or the taking of any action in
reliance upon this transmission is strictly prohibited.  Delivery of this
message to any person other than the intended recipient shall not
compromise or waive such confidentiality, privilege or exemption
from disclosure as to this communication.
**
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: Is there a (complete) Upgrade Manual for v16?

2017-01-10 Thread Stephen J. Orth
David,

I hear you on that one...


Steve


-Original Message-
From: Dave Nasralla [mailto:dnasra...@gmail.com] 
Sent: Tuesday, January 10, 2017 2:58 PM
To: Steve Orth ; 4D iNug Technical 
<4d_tech@lists.4d.com>
Subject: Re: Is there a (complete) Upgrade Manual for v16?

Ugh. I'm doing pretty well if I read one upgrade manual ;-)

d


David Nasralla
Clean Air Engineering


**
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: Is there a (complete) Upgrade Manual for v16?

2017-01-10 Thread Dave Nasralla
Thanks Miyako. That looks a lot more interesting.

dave

On Tue, Jan 10, 2017 at 1:55 PM, Keisuke Miyako  wrote:
> personally I would recommend reading the 52 blog posts instead.
> each article is short and you get to download a total 32 HDI example DBs,
> covering all major features from 15R2 to v16.
>
> http://blog.4d.com
>
>> 2017/01/11 5:46、Dave Nasralla  のメール:
>> Do I really have to read 5 manuals to move from v15 to v16!?!
>
>
>
> 宮古 啓介
> セールス・エンジニア
>
> 株式会社フォーディー・ジャパン
> 〒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
> **



-- 
David Nasralla
Clean Air Engineering
**
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: Is there a (complete) Upgrade Manual for v16?

2017-01-10 Thread Dave Nasralla
Ugh. I'm doing pretty well if I read one upgrade manual ;-)

d

On Tue, Jan 10, 2017 at 1:48 PM, Stephen J. Orth
 wrote:
> David,
>
> Suck it up!   ;-)
>
> Best,
>
> Steve

-- 
David Nasralla
Clean Air Engineering
**
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: Conversion error - from v2004 to v13

2017-01-10 Thread Keisuke Miyako
what about running MSC with the converted version?

> 2017/01/08 6:19、Mehboob Alam  のメール:
> Anyone come up with a fix for this, or a way of diagnosing what the missing
> field could be? Datacheck on the original v2004 datafile did not report
> this.



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

株式会社フォーディー・ジャパン
〒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: Is there a (complete) Upgrade Manual for v16?

2017-01-10 Thread Keisuke Miyako
personally I would recommend reading the 52 blog posts instead.
each article is short and you get to download a total 32 HDI example DBs,
covering all major features from 15R2 to v16.

http://blog.4d.com

> 2017/01/11 5:46、Dave Nasralla  のメール:
> Do I really have to read 5 manuals to move from v15 to v16!?!



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

株式会社フォーディー・ジャパン
〒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: Is there a (complete) Upgrade Manual for v16?

2017-01-10 Thread Lee Hinde
I don’t run R releases….


That said, I’m glad that the conversion to v16 manual has links to all the 
intermediate integer release updates. I’ve been doing a lot of big jump updates 
recently.


> On Jan 10, 2017, at 12:46 PM, Dave Nasralla  wrote:
> 
> At http://doc.4d.com/4Dv16/index.en.html 
>  there is a v16 Upgrade
> manual, but it says:
> 
> 
> "Welcome to 4D v16. This version is part of the continuous delivery
> (R-release) program.

**
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: Is there a (complete) Upgrade Manual for v16?

2017-01-10 Thread Stephen J. Orth
David,

Suck it up!   ;-)

Best,

Steve

*
  Stephen J. Orth
  The Aquila Group, Inc. Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*

-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Dave Nasralla
Sent: Tuesday, January 10, 2017 2:47 PM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Subject: Is there a (complete) Upgrade Manual for v16?

Hey all,

At http://doc.4d.com/4Dv16/index.en.html there is a v16 Upgrade
manual, but it says:


"Welcome to 4D v16. This version is part of the continuous delivery
(R-release) program.

This document describes new features and implementations added since
4D v15 R5. For more information about features introduced during the
v15 R-release program, you can download the corresponding R-release
Upgrade manuals (PDF):
4D v15 R2 - Upgrade
4D v15 R3 - Upgrade
4D v15 R4 - Upgrade
4D v15 R5 - Upgrade"
-

Do I really have to read 5 manuals to move from v15 to v16!?!

dave

-- 
David Nasralla
Clean Air Engineering

**
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: Implementing Audit Trails

2017-01-10 Thread Jody Bevan
Some Audit Trails also need to track searches performed, who logged onto which 
computer (and from where), and when, and when they logged off. 

The idea of searches is that someone may be looking for a person but end up not 
finding the record, but the search history shows they were trying.

With some systems the audit trail ends up being bigger than the original data.

Sincerely
Jody Bevan

**
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: Implementing Audit Trails

2017-01-10 Thread Charles Miller
On Fri, Jan 6, 2017 at 6:52 AM, Daniel N. Solenthaler <
dan...@solenthaler.com> wrote:

> Hi everyone,
>
> We are thinking about adding Audit Trails to our database.
>
> Found a very old Tech Note on the topic:
> ftp://ftp.4d.com/ACI_TECHNICAL_NOTES/ACIDOC/CMU/CMU79933.HTM
>
> Are there any newer approaches or components available?
> Has anyone done this?
>
> I don’t want to start off with a solution from 1998 and do not intend to
> re-invent the wheel either.
>
> Any help appreciated!
>
> Thanks
> Daniel
>

I know I am coming in late, but some audit trails also need to track views,
not just changes/deletions

Regards

Chuck


-- 
-
 Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
 Informed Solutions, Inc.
 Brookline, MA 02446 USA Registered 4D Developer
   Providers of 4D, Sybase & SQL Sever connectivity
  http://www.informed-solutions.com
-
This message and any attached documents contain information which may be
confidential, subject to privilege or exempt from disclosure under
applicable law.  These materials are intended only for the use of the
intended recipient. If you are not the intended recipient of this
transmission, you are hereby notified that any distribution, disclosure,
printing, copying, storage, modification or the taking of any action in
reliance upon this transmission is strictly prohibited.  Delivery of this
message to any person other than the intended recipient shall not
compromise or waive such confidentiality, privilege or exemption
from disclosure as to this communication.
**
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: Conversion error - from v2004 to v13

2017-01-10 Thread Charles Miller
On Sat, Jan 7, 2017 at 4:19 PM, Mehboob Alam  wrote:

> Anyone come up with a fix for this, or a way of diagnosing what the missing
> field could be? Datacheck on the original v2004 datafile did not report
> this.
>

You could go into 2004 copy of structure combined with copy of data and add
a bunch of text fields to end. Reconvert

query new text fields for other than "" and you should be able to figure
out what its going on. In the past if you
1. Added fields to a table and then ran it and added or modified a few
records and then
2. Went back to old structure without those fields. This might cause this
problem. I had this situation once and had a bad data corruption issue and
had to export and re-import all tables with added fields. A customer who
also did development added fields and went back to old copy of structure.

Regards
Chuck


-- 
-
 Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
 Informed Solutions, Inc.
 Brookline, MA 02446 USA Registered 4D Developer
   Providers of 4D, Sybase & SQL Sever connectivity
  http://www.informed-solutions.com
-
This message and any attached documents contain information which may be
confidential, subject to privilege or exempt from disclosure under
applicable law.  These materials are intended only for the use of the
intended recipient. If you are not the intended recipient of this
transmission, you are hereby notified that any distribution, disclosure,
printing, copying, storage, modification or the taking of any action in
reliance upon this transmission is strictly prohibited.  Delivery of this
message to any person other than the intended recipient shall not
compromise or waive such confidentiality, privilege or exemption
from disclosure as to this communication.
**
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 UI code questions and observations

2017-01-10 Thread Benedict, Tom


Mitchell Shiller writes:



>I suspect that there are others like myself who do not have the in depth 
>background /experience or education in the theory of MVC, UI Models, etc to go 
>there entirely on my own. But 4D is critical to my business, so I always look 
>at ways of improving my coding skills and use of 4D.



Consider me in that group, Mitch.



>Could any of you give me an  '"elevator pitch" of why someone ( well  in this 
>case, me) would want to go through the effort of making the substantive 
>changes necessary to implement this model?

>What advantages are there over "standard" 4D?



I found this thread fascinating, but I didn't see anything in it that would 
lead me to ever consider implementing such a system. At least not until I read 
the part about how it could support automated testing. Testing is the biggest 
expense in developing our enterprise app, and that is mainly because it is 
almost all done manually via the UI.  Step by Step 'button pushing' testing! If 
even 25% of that work could be automated it would save a lot of money, plus the 
app would be more stable (and require fewer hot fixes).



>What disadvantages are there compared to "Standard" 4D?



The effort is likely too great to refactor an existing app. It is probably 
limited to new apps.



Thanks to all who have contributed to the discussion. I will continue to follow 
it.



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)
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 v13 on Sierra

2017-01-10 Thread Greg Loya
Is anyone developing in 4D v13 on Sierra - specifically, 10.12.2?  If so,
are there any issues to be aware of?

Thanks

Regards,
Greg
**
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: Implementing Audit Trails

2017-01-10 Thread Pat Bensky
Hi Paul (and anybody else who's interested),
I've put together a database containing the code and forms. Not sure if I
can attach it in this email to the inug - if not, I'll send it to you
off-list.
Pat


On 9 January 2017 at 08:49, Paul Dennis  wrote:

> Hello Pat,
>
> If possible I would be interested in this for my new app. I watched the
> video and yours is a lot nicer than the basic log I have implemented.
> Thanks
> Paul
>
>
>
>
>
> --
> View this message in context: http://4d.1045681.n5.nabble.
> com/Implementing-Audit-Trails-tp5749502p5749591.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
> **
>



-- 
*
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: Bonjour service discovery plugin & HTTP Digest Authentication

2017-01-10 Thread James Crate

> On Sep 23, 2016, at 1:44 PM, James Crate  wrote:
> 
> Does anyone know if there is a Bonjour service discovery plugin available? I 
> thought I had seen something like that once upon a time but now I can’t find 
> anything.

I figured I might as well update the list on how I eventually got this stuff 
working. The setup is that I had a 4D runtime merged app that needed to 
discover another machine on the local network with Bonjour and then interact 
with the webserver on that machine using http digest authentication. My 
previous solution was a custom UDP listener on the webserver machine with a bit 
of UDP broadcast code in 4D to find that machine. With the upgrade to V15/macOS 
10.11, 4D could no longer reliably find the other machine. Accessing the server 
using 4D IC also became unreliable with V15/macOS 10.11.

After trying a couple different options to work with Bonjour service discovery, 
it turned out to be trivial to write a command line tool (Xcode, Objective-C 
using NSNetServiceBrowser) for Bonjour discovery that could be easily bundled 
with the the merged app and run via LEP. So, service discovery part solved! It 
was so easy I’m embarrassed I didn’t think of that years ago instead of 
building the custom UDP broadcast/response protocol.

4D’s HTTP Get command didn’t work with digest authentication due to a bug in 
the implementation. So, I changed my old http client code which did proper 
digest authentication to use HTTP Get instead of 4DIC (using HTTP Get without 
authentication and building the headers myself). However, the built-in HTTP Get 
turned out to be somewhat unreliable at resolving the machine name returned by 
the service discovery tool (~ 10% failure rate, IIRC). The curl tool, however, 
worked every time and also handled digest authentication properly as well. 

Jim Crate

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

[ANN] hmCal 7.0 available for 4D v15 and v16

2017-01-10 Thread Christian Sakowski
hmCal is a plug-in developed by heubach media (www.hmplugins.com), Hamburg, 
Germany for 4th Dimension.

With version 7.0 of hmCal we continually integrate new features and improve 
stability and integrity in 4D.
This version of hmCal is certified for 4D v15 and 4D v16, only!

Version 7 of hmCal is a huge step. We moved our product to a 64 bit version on 
Macintosh and rewrote the entire graphical engine to DirectX on Windows. We 
implemented a lot of long wanted features, like breaks in the time line.

hmCal 7.0 contains tremendous new functions and improvements:

- New command hmCal_SET TIMEOUT LIST to set breaks in the time line
- New events: hmCal_OnTooltip, hmCal_OnScroll and hmCal_SortUser
- New command hmCal_GET USER LIST to get a list of all users
- New commands hmCal_SET COLOR NEW and hmCal_GET COLOR NEW to define the alpha 
channel for colors
- New commands hmCal_Add Group and hmCal_DELETE GROUP to group related 
appoinments together in a view
- It is now possible to sort the user rows in the user multi day view
- 64 Bit Version for Mac (4D and 4D Server)
- Complete rewritten drawing engine under Windows: Moving from GDI+ to Direct2D 
and DirectWrite

More you can read in the release notes of the online documentation:

http://hm2.heubach-media.de/projektis/hmCal/7_0/documentation/hmCal_EN_INDEX.HTM

Currently there are 6 demo databases available for 4D v15. These databases 
shows you, how to handle the new features and how easy it is, to integrate 
these new features in your 4D application.

hmCal ist available as a 32 and 64 bit universal binary bundle for Macintosh 
and Windows.
It was developed and tested with 4D v15 and v16.

hmCal is available for Macintosh 10.9 and above and Windows 7 and above as 
Bundle for 4D v15 and 4D v16.

More information:


Customers about hmCal:

"hmCal has proved a perfect base for our calendar and planning modules. The 
integration into our system was no problem. heubach media was always open for 
feedback from practice." - Tilman Haerdle / extragroup GmbH, Münster, Germany

"Tremendous stable plugin. Rapid implementation of new features and Excellent 
customer support." - Frank Juling / EPI development, Berlin, Germany
--

Grüße/Regards,
[heubach-media] | Christian Sakowski
christian.sakow...@heubach-media.de
iChat/AIM: SakowskiF
Tel: +49/(0)40/52 10 59-23


--
heubach media
Osterfeldstr. 12-14 | Haus 1 | Eingang Nord
22529 Hamburg
tel: 040 / 52 10 59 - 10 | fax: -99
mail: i...@heubach-media.de
home: www.heubach-media.de
Geschäftsführer|CEO: Matthias Heubach

Mieten Sie Ihre Computer, iPads & Drucker für Ihre Events bei:
http://www.milo-rental.com

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten 
haben,
informieren Sie bitte sofort den Absender und vernichten Sie diese Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht 
gestattet.
 
This e-mail may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail.
Any unauthorized copying, disclosure or distribution of the
material in this e-mail is strictly forbidden.
**
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
**

Time to subscribe to e-Node Partner license for your 4D professional tools

2017-01-10 Thread Philippe Ganter
Dear developers,

e-Node Partner subscription matches 4D's annual Partner program and covers all 
4D professional tools published by e-Node, including AreaList Pro, SuperReport 
Pro, PrintList Pro, CalendarSet and Internet Toolkit (ITK).

For each product, a single registration key allows development (interpreted 
mode) or deployment (interpreted or compiled mode, except merged) on all 4D 
Standalones and 4D Servers (2 users) regardless of 4D product numbers, OS and 
versions. No merged applications.


This is a yearly license, which expires on February 1st (same date as 4D 
Partner licenses).
Expiration only affects interpreted mode. Compiled applications using an 
obsolete license will never expire.

Note: you don’t have to be a 4D Partner to subscribe to the e-Node Partner 
license.

The e-Node Partner license is available from any relevant product page: 
http://www.e-node.net/alp
http://www.e-node.net/srp
http://www.e-node.net/plp
http://www.e-node.net/cs
http://www.e-node.net/itk


Get 10% off any product/license for one whole year!

Ii addition, all e-Node Partner subscribers qualify for a 10% discount on a 
permanent basis, on all products and licenses available from www.e-node.net 
including 4D professional tools, 4D products, maintenance and PDF tools 
regardless of the license types.

Enter the promotional code "PARTNER" when ordering anytime of the year from our 
website to apply this discount on any order, as many times as you want, if you 
have a currently valid e-Node Partner license.


New 64-bit / v16 releases approaching!
The e-Node Partner 2017 subscription includes licenses for the next versions 
(AreaList Pro v10, PrintList Pro v6, CalendarSet v5) offering 64-bit / v16 
compatibility and a lot of new features.


Regards,
-- 
Philippe Ganter
www.e-node.net
forums.e-node.net

















**
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: Hourly Consulting Rates

2017-01-10 Thread Tony Pollard
Your milage will definitely vary, but I’m happy to (belatedly) share.

The lowest rate I’ve charged over the last 19 years (UK) has been £60 per hour 
($73*) and the typical rate has been £75 per hour ($91).  There are projects 
where I have charged more, but they typically involve more business or 
technical consultancy than just 4D.

*Note that my dollar rate was $90 - $109 pre-Brexit, but the pound has slumped 
even more recently.

Tony Pollard
Another Dimension


> On 17 Dec 2016, at 12:59 pm, Peter Jakobsson  wrote:
> 
> In the UK, the hourly rate for a plumber or electrician is around £60 = $75.
> 
> 4D going rates appear to be about half to two thirds that amount based on day 
> rate. (Not much point in hiring a programmer for an hour).
> 
> So, using that rule of thumb, take your local plumber/electrician rate and 
> multiply by 0.5 - 0.75 to get the range ;)
> 
> 
> On 16 Dec 2016, at 22:28, Tim Nevels  wrote:
> 
>> What’s the going rate these days? Feel free to reply to me privately. 
> 
> 
> **
> 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
**