Re: How to trap a form save keystroke in an object method ?

2017-05-17 Thread Jody Bevan via 4D_Tech
Peter.

Get rid of the auto save action. Then you can handle what ever situations you 
need to. We have not used auto action buttons for 25 years.

Sincerely
Jody Bevan

> On May 17, 2017, at 19:51, Peter Jakobsson via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Hi
> 
> I rarely come across this problem.
> 
> Lets say you have a field with an “On Data Change” object method which does 
> field level validation that rejects an entry.
> 
> Lets says the form has a default button and the user clicked the “Big Enter” 
> key (on the numeric keypad) which invokes a ‘save’ action.
> 
> Here’s the problem:
> 
> • the field level validation rejects the entry and restores the ‘in range’ 
> value that was already there
> • but after executing the script 4D still ploughs on and tried to save the 
> record
> • the form level validations don’t trap the error condition because it was 
> ‘put right’ at the field level, so 4D saves the form
> 
> How can the ‘save form’ keystroke be arrested if the field level validation 
> fails ? It appears that FILTER KEYSTROKE(“”) only works if you place it in 
> the “On Before keystroke” event. It doesn’t work retrospectively after the 
> “On Data Change” script has validated at field level.
> 
> Peter
> 
> **
> 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: Migrating OS X server to Windows Server

2017-05-17 Thread Wayne Stewart via 4D_Tech
Hi,

I reckon the main consideration is (depending on size of the organisation
and knowledge of the IT staff) go with what the people onsite are familiar
dealing with.

So an i7 iMac with SSD may be sufficient, I have a number of sites running
off a 27" quad-core iMac or 2012 Mac mini.  I suggested they would get
better performance from a Windows box but none of the clinics' owners have
experience with Windows so that suggestion has been always declined.

Admittedly these are small databases (3 - 10 GB) with low user numbers
(5-15 users).



Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart



On 18 May 2017 at 11:30, James Crate via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> On May 17, 2017, at 9:12 AM, Paul Lovejoy via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > We are hitting the limits of our old xServe hardware which is currently
> running large v12 databases. We are planning a major upgrade to 4D v15 but
> we are running into difficulties with the stability of these old xServes
> with OS X 10.10 or more recent, which is required for v15. We are currently
> attempting to run v12 on OS X 10.10.5 and the results are disastrous, so we
> have to go back to older OS versions.
> >
> > Since Apple has no longer upgraded its server hardware for over 7 years,
> this is obviously a lost cause. So we will be looking to move to Windows.
> >
> > Has anyone done such a move recently? Does 4D have a policy for
> side-grades from Mac to Win for server licenses?
>
> MacOS 10.11.x has been stable on my client’s 2009 Xserves. However, 4D v12
> is likely not compatible with macOS 10.10.x. Also 4D v13 will crash
> frequently on client machines with 10.11.x.
>
> You can put a PCIe SSD card in Xserves; since it’s only PCIe 2.0 the
> bandwidth is limited to around 8Gb/s, but that’s still more than 6Gb/s SAS.
> While other database engines run well on spinning hard drives, 4D should
> only be run on an SSD. I am so happy the days of 3-5 minute sequential
> table searches on a single field in a 100K row table are behind me…
>
> 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
> **
>
**
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 trap a form save keystroke in an object method ?

2017-05-17 Thread Peter Jakobsson via 4D_Tech
Hi

I rarely come across this problem.

Lets say you have a field with an “On Data Change” object method which does 
field level validation that rejects an entry.

Lets says the form has a default button and the user clicked the “Big Enter” 
key (on the numeric keypad) which invokes a ‘save’ action.

Here’s the problem:

 • the field level validation rejects the entry and restores the ‘in range’ 
value that was already there
 • but after executing the script 4D still ploughs on and tried to save the 
record
 • the form level validations don’t trap the error condition because it was 
‘put right’ at the field level, so 4D saves the form

How can the ‘save form’ keystroke be arrested if the field level validation 
fails ? It appears that FILTER KEYSTROKE(“”) only works if you place it in the 
“On Before keystroke” event. It doesn’t work retrospectively after the “On Data 
Change” script has validated at field level.

Peter

**
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: Migrating OS X server to Windows Server

2017-05-17 Thread James Crate via 4D_Tech
On May 17, 2017, at 9:12 AM, Paul Lovejoy via 4D_Tech <4d_tech@lists.4d.com> 
wrote:
> 
> We are hitting the limits of our old xServe hardware which is currently 
> running large v12 databases. We are planning a major upgrade to 4D v15 but we 
> are running into difficulties with the stability of these old xServes with OS 
> X 10.10 or more recent, which is required for v15. We are currently 
> attempting to run v12 on OS X 10.10.5 and the results are disastrous, so we 
> have to go back to older OS versions.
> 
> Since Apple has no longer upgraded its server hardware for over 7 years, this 
> is obviously a lost cause. So we will be looking to move to Windows.
> 
> Has anyone done such a move recently? Does 4D have a policy for side-grades 
> from Mac to Win for server licenses?

MacOS 10.11.x has been stable on my client’s 2009 Xserves. However, 4D v12 is 
likely not compatible with macOS 10.10.x. Also 4D v13 will crash frequently on 
client machines with 10.11.x. 

You can put a PCIe SSD card in Xserves; since it’s only PCIe 2.0 the bandwidth 
is limited to around 8Gb/s, but that’s still more than 6Gb/s SAS. While other 
database engines run well on spinning hard drives, 4D should only be run on an 
SSD. I am so happy the days of 3-5 minute sequential table searches on a single 
field in a 100K row table are behind me…

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

Re: Can't delete methods

2017-05-17 Thread Keisuke Miyako via 4D_Tech
have tried deleting those 4 methods on the home tab of Explorer, as opposed to 
the methods tab?



**
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 - Accessing user groups in component

2017-05-17 Thread Jeremy French via 4D_Tech

According to the documentation, you are seeing the host’s users and groups from 
within the component.

From the documentation: "the 'Users and Groups' theme can be used from a 
component but will read the users and groups of the host database (a component 
does not have its own users and groups).”

See "Scope of language commands “ at bottom of page at:
http://doc.4d.com/4Dv16/4D/16.1/Interaction-between-components-and-host-databases.300-3373444.en.html
 



> On May 17, 2017, at 4:11 PM, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> in a component, what am I seeing? the component's user groups or the 
> host database?

**
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: Can't delete methods

2017-05-17 Thread Doug Hall via 4D_Tech
Yeah, that's what I'm doing. Thanks for the feedback. I've renamed them
aa_CannotDelete1, aa_CannotDelete2,...


On Wed, May 17, 2017 at 5:11 PM, Joshua Hunter via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Doug,
>
> We had this problem with a few methods. Went on for years. We could edit
> the content, but not delete them (tried every single 4D user including
> designer). At some point after multiple 4D version upgrades and repairs we
> were able to remove them. Not sure what the exact fix was. I just made sure
> that they were empty so that no matter what they couldn't get called and do
> something.
>
> Joshua Hunter
> jos...@dwdev.com
> (425)673-1974
> www.dwdev.com
> Dataworks Development, Inc.
> Providing secure and configurable data management solutions for research
> and clinical labs since 1987.
>
>
> -Original Message-
> From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Doug
> Hall via 4D_Tech
> Sent: Wednesday, May 17, 2017 1:46 PM
> To: 4D iNug Technical
> Cc: Doug Hall
> Subject: Re: Can't delete methods
>
> I repaired my structure, as suggested and still cannot delete the methods.
> They're from a 4D 2004 converted Foundation structure. Most of those
> methods will delete just fine, but I've found four, so far, that will not
> go away.
>
> :-/
> Doug
>
> On Wed, May 17, 2017 at 9:50 AM, Kirk Brooks via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
> > Ah - sometimes the Explorer doesn't completely set itself to the
> > 'area' you clicked on in the left column. So if you 'think' you've
> > selected the "Methods" you may not have. Click it again and then try the
> delete again.
> >
> > On Wed, May 17, 2017 at 7:40 AM, Doug Hall via 4D_Tech <
> > 4d_tech@lists.4d.com
> > > wrote:
> >
> > > I'm just clicking the minus sign below the project methods list. Is
> > > there another way?
> > >
> > > On Wed, May 17, 2017 at 9:39 AM, Doug Hall 
> > wrote:
> > >
> > > > Nothing but a system alert sound.
> > > >
> > > > On Wed, May 17, 2017 at 9:14 AM, Kirk Brooks via 4D_Tech <
> > > > 4d_tech@lists.4d.com> wrote:
> > > >
> > > >> Doug,
> > > >> How are you trying to delete them and what happens when you do?
> > > >>
> > > >> On Wed, May 17, 2017 at 7:07 AM, Doug Hall via 4D_Tech <
> > > >> 4d_tech@lists.4d.com
> > > >> > wrote:
> > > >>
> > > >> > I have a few methods that I can't delete. I looked in the
> > > >> > method
> > > >> properties
> > > >> > and can find nothing out of the ordinary, which might be
> > > >> > preventing
> > > >> this.
> > > >> > They're not used anywhere in my database, and I even emptied
> > > >> > the
> > > >> methods.
> > > >> > Can someone please point me in the right direction, here?
> > > >> >
> > > >> > Thanks,
> > > >> > Doug
> > > >> > 
> > > **
> > > >> > 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
> > > >> > 
> > > **
> > > >>
> > > >>
> > > >>
> > > >>
> > > >> --
> > > >> Kirk Brooks
> > > >> San Francisco, CA
> > > >> ===
> > > >>
> > > >> *The only thing necessary for the triumph of evil is for good men
> > > >> to
> > do
> > > >> nothing.*
> > > >>
> > > >> *- Edmund Burke*
> > > >> 
> > **
> > > >> 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
> > > 
> > > **
> > >
> >
> >
> >
> > --
> > Kirk Brooks
> > San Francisco, CA
> > ===
> >
> > *The only thing necessary for the triumph of evil is for good men to
> > do
> > nothing.*
> >
> > *- Edmund Burke*
> > **
> > 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: TIP-Finding Callers of the Current Method

2017-05-17 Thread David Adams via 4D_Tech
On Thu, May 18, 2017 at 5:01 AM, Alan Tilson via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Chuck and everyone,
> I don't suppose that there a way to use pointers to methods rather than
> using text method names in things like execute method or new process?
>

No, there's nothing like that in 4D. They're just dead strings. There is a
*lot* that 4D (or we with a bunch of work) could/can do with effort. I
posted a feature request along these lines (vote it up!) some time back:

Compiler/Typing Improvements: Detect some runtime errors in advance
http://forums.4d.fr/Post/EN/19107688/1/19107689

I thought that this request would generate a lot of other ideas and comment
but, well, it hasn't. In it I ask for a fairly modest set of changes to the
compiler that could make a *huge* difference to code quality. Really, it's
about making the compiler far more useful. For example:

1) Provide a syntax to declare a parameter as optional:

C_TEXT($1;Is Optional)

2) Verify that method names passed as arguments are valid:

ON ERR CALL("OhWaitIDeletedThisMethod")

4D knows which arguments are method names. It can check these already. It
just doesn't for some reason.

3) Give us a way to declare parameters as method names:

C_METHOD_NAME($1)

Or

C_TEXT($1;Is Method Name)

Would these method name checking features help with dynamic methods or
formulas created at runtime? No. The compiler can only see static code. Yet
so much of this stuff is typically visible in the code at rest. At the
moment, the only alternative is to write your own code scanner to do static
code analysis. It's entirely doable, it's not a ginormous task, but it is a
fair bit of work.

It would be great if 4D would hand us a parse tree instead of a block of
text for a method. (Well, as another option.) The details of the whitespace
in the text seems to change between versions too, which is a pain. By a
"parse tree", I mean a tree that contains all of the code in the method
broken down by line and within line by part. *The interpreter already does
this internally.* It has to in order to execute code.

But, no, we don't have anything like "members", function pointers,
closures, or objects. You can get some nice results using a V16 worker as a
special sort of namespaced container with private-ish methods...but that's
not really a deliberate design from 4D...it's just a side-effect.
**
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: Can't delete methods

2017-05-17 Thread Joshua Hunter via 4D_Tech
Doug,

We had this problem with a few methods. Went on for years. We could edit the 
content, but not delete them (tried every single 4D user including designer). 
At some point after multiple 4D version upgrades and repairs we were able to 
remove them. Not sure what the exact fix was. I just made sure that they were 
empty so that no matter what they couldn't get called and do something.

Joshua Hunter
jos...@dwdev.com
(425)673-1974
www.dwdev.com
Dataworks Development, Inc.
Providing secure and configurable data management solutions for research and 
clinical labs since 1987.


-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Doug Hall via 
4D_Tech
Sent: Wednesday, May 17, 2017 1:46 PM
To: 4D iNug Technical
Cc: Doug Hall
Subject: Re: Can't delete methods

I repaired my structure, as suggested and still cannot delete the methods.
They're from a 4D 2004 converted Foundation structure. Most of those methods 
will delete just fine, but I've found four, so far, that will not go away.

:-/
Doug

On Wed, May 17, 2017 at 9:50 AM, Kirk Brooks via 4D_Tech < 
4d_tech@lists.4d.com> wrote:

> Ah - sometimes the Explorer doesn't completely set itself to the 
> 'area' you clicked on in the left column. So if you 'think' you've 
> selected the "Methods" you may not have. Click it again and then try the 
> delete again.
>
> On Wed, May 17, 2017 at 7:40 AM, Doug Hall via 4D_Tech < 
> 4d_tech@lists.4d.com
> > wrote:
>
> > I'm just clicking the minus sign below the project methods list. Is 
> > there another way?
> >
> > On Wed, May 17, 2017 at 9:39 AM, Doug Hall 
> wrote:
> >
> > > Nothing but a system alert sound.
> > >
> > > On Wed, May 17, 2017 at 9:14 AM, Kirk Brooks via 4D_Tech < 
> > > 4d_tech@lists.4d.com> wrote:
> > >
> > >> Doug,
> > >> How are you trying to delete them and what happens when you do?
> > >>
> > >> On Wed, May 17, 2017 at 7:07 AM, Doug Hall via 4D_Tech < 
> > >> 4d_tech@lists.4d.com
> > >> > wrote:
> > >>
> > >> > I have a few methods that I can't delete. I looked in the 
> > >> > method
> > >> properties
> > >> > and can find nothing out of the ordinary, which might be 
> > >> > preventing
> > >> this.
> > >> > They're not used anywhere in my database, and I even emptied 
> > >> > the
> > >> methods.
> > >> > Can someone please point me in the right direction, here?
> > >> >
> > >> > Thanks,
> > >> > Doug
> > >> > 
> > **
> > >> > 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
> > >> > 
> > **
> > >>
> > >>
> > >>
> > >>
> > >> --
> > >> Kirk Brooks
> > >> San Francisco, CA
> > >> ===
> > >>
> > >> *The only thing necessary for the triumph of evil is for good men 
> > >> to
> do
> > >> nothing.*
> > >>
> > >> *- Edmund Burke*
> > >> 
> **
> > >> 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
> > 
> > **
> >
>
>
>
> --
> Kirk Brooks
> San Francisco, CA
> ===
>
> *The only thing necessary for the triumph of evil is for good men to 
> do
> nothing.*
>
> *- Edmund Burke*
> **
> 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://li

Re: Can't delete methods

2017-05-17 Thread Doug Hall via 4D_Tech
I repaired my structure, as suggested and still cannot delete the methods.
They're from a 4D 2004 converted Foundation structure. Most of those
methods will delete just fine, but I've found four, so far, that will not
go away.

:-/
Doug

On Wed, May 17, 2017 at 9:50 AM, Kirk Brooks via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Ah - sometimes the Explorer doesn't completely set itself to the 'area' you
> clicked on in the left column. So if you 'think' you've selected the
> "Methods" you may not have. Click it again and then try the delete again.
>
> On Wed, May 17, 2017 at 7:40 AM, Doug Hall via 4D_Tech <
> 4d_tech@lists.4d.com
> > wrote:
>
> > I'm just clicking the minus sign below the project methods list. Is there
> > another way?
> >
> > On Wed, May 17, 2017 at 9:39 AM, Doug Hall 
> wrote:
> >
> > > Nothing but a system alert sound.
> > >
> > > On Wed, May 17, 2017 at 9:14 AM, Kirk Brooks via 4D_Tech <
> > > 4d_tech@lists.4d.com> wrote:
> > >
> > >> Doug,
> > >> How are you trying to delete them and what happens when you do?
> > >>
> > >> On Wed, May 17, 2017 at 7:07 AM, Doug Hall via 4D_Tech <
> > >> 4d_tech@lists.4d.com
> > >> > wrote:
> > >>
> > >> > I have a few methods that I can't delete. I looked in the method
> > >> properties
> > >> > and can find nothing out of the ordinary, which might be preventing
> > >> this.
> > >> > They're not used anywhere in my database, and I even emptied the
> > >> methods.
> > >> > Can someone please point me in the right direction, here?
> > >> >
> > >> > Thanks,
> > >> > Doug
> > >> > 
> > **
> > >> > 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
> > >> > 
> > **
> > >>
> > >>
> > >>
> > >>
> > >> --
> > >> Kirk Brooks
> > >> San Francisco, CA
> > >> ===
> > >>
> > >> *The only thing necessary for the triumph of evil is for good men to
> do
> > >> nothing.*
> > >>
> > >> *- Edmund Burke*
> > >> 
> **
> > >> 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
> > **
> >
>
>
>
> --
> Kirk Brooks
> San Francisco, CA
> ===
>
> *The only thing necessary for the triumph of evil is for good men to do
> nothing.*
>
> *- Edmund Burke*
> **
> 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
**

v13 - Accessing user groups in component

2017-05-17 Thread Chip Scheide via 4D_Tech
If I ask the question:
User in group("Group";Current user)

in a component, what am I seeing? the component's user groups or the 
host database?

If I see the component's user groups - how do I access the host's users 
& groups?

---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**
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: TIP-Finding Callers of the Current Method

2017-05-17 Thread Alan Tilson via 4D_Tech
Chuck and everyone,
I don't suppose that there a way to use pointers to methods rather than
using text method names in things like execute method or new process?
It seems like the use of pointers here would/could eliminate the need for
the text searches!
Method numbers could work like Table numbers work!
Anyway, I've never found anything out there about such things, but it
doesn't hurt to ask?
Alan

On Thu, Apr 27, 2017 at 11:01 AM, Alan Tilson  wrote:

> Chuck,
> Thanks for the reminder and I do wish there was a way to go directly to
> Find in design searching for the method name!
> Alan
>
> On Thu, Apr 27, 2017 at 10:45 AM, Charles Miller via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
>> On Thu, Apr 27, 2017 at 10:29 AM, Alan Tilson via 4D_Tech <
>> 4d_tech@lists.4d.com> wrote:
>>
>> > I just found the Method/Search Callers menu item that searches for
>> Callers
>> > of the current Method, so if you have not used this please check it out.
>> >
>>
>> I have been using both. Stating the obvious, you must remember search
>> callers does not return anyplace where this method would be used ibn
>> execute command or when used to launch a new process
>>
>> 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
>> **
>
>
>
**
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 detect EOL character in text file (James Crate)

2017-05-17 Thread Jim Medlen via 4D_Tech

<>vCR:=Char(13)

<>vLF:=Char(10)

<>vCRLF:=Char(13)+Char(10)


vText:=Replace string(vText;<>vCRLF;<>vCR)
vText:=Replace string(vText;<>vLF;<>vCR)

When parsing text I replace Carriage Return + Line Feed with Carriage Return
Then replace Line Feed with carriage return.

Then the Line endings are all Carriage Returns.

Thanks,

Jim Medlen
Computer & Information Systems
Functional Devices, Inc.
j.med...@functionaldevices.com
phone (765) 883-5538 x 428
fax (765) 883-4262
http://www.functionaldevices.com

This email was transmitted on 100 percent recycled electrons




**
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: Disable close button on Splash screen windows v12

2017-05-17 Thread truegold via 4D_Tech
Hi Floyd,

> It is the opposite. The checkbox under Database Settings/Security allows you 
> to set a 4D group that HAS access to design mode.
> We create the group “Development” as the Designer, so the Administrator 
> doesn’t have access to edit.

Ok …

So I already have a group created “Admin" that is set to “Design Access” in 
Database Settings->Security. It looks like it includes Designer and 
Administrator.

I have group named “Default Group”.

I originally set this up because we wanted to limit who used up 4D Write 
licenses. Not currently being used however.

So after they do their custom login can’t I...

just assign the admin user that logs in to the “Admin” group and everyone else 
to the "Default Group”?

Seems like that should work.

Appreciate,
John…

**
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: printing listbox v 15.4hf2

2017-05-17 Thread Spencer Hinsdale via 4D_Tech

I think someone recently posted a link to 4d today:
http://www.4dtoday.com

there is a generic list box print routine on the home page

however, since the host is in Australia it appears the site is actually 4D 
TOMORROW  :)

> On May 17, 2017, at 9:56 AM, Timothy Penner via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> Hi Chuck,
> 
> There is an example in the docs:
> http://doc.4d.com/4Dv15/4D/15/LISTBOX-GET-PRINT-INFORMATION.301-2007323.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: printing listbox v 15.4hf2

2017-05-17 Thread Timothy Penner via 4D_Tech
Hi Chuck,

There is an example in the docs:
http://doc.4d.com/4Dv15/4D/15/LISTBOX-GET-PRINT-INFORMATION.301-2007323.en.html

OPEN PRINTING JOB
 FORM LOAD("SalesForm")
 $Over:=False
 Repeat
$Total:=Print object(*;"mylistbox")
LISTBOX GET PRINT INFORMATION(*;"mylistbox";Listbox printing is over;$Over)
PAGE BREAK
 Until($Over)
 CLOSE PRINTING JOB

Hope that helps,

-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: Disable close button on Splash screen windows v12

2017-05-17 Thread Floyd Zink via 4D_Tech
John,

>> Add a 4D Group in the password editor. Is there not a checkbox to disallow a 
>> user into design?

It is the opposite. The checkbox under Database Settings/Security allows you to 
set a 4D group that HAS access to design mode.

We create the group “Development” as the Designer, so the Administrator doesn’t 
have access to edit.

Floyd Zink
QMed Corporation



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

printing listbox v 15.4hf2

2017-05-17 Thread Chuck Miller via 4D_Tech
Hi All, 

I thought there was a tech note on printing list boxes. I need to create and 
print a hierarchical list box. Specifically a Bill of Material as part of a 
larger page. Is this possible as part of a printed page. and if so where might 
I find example to speed me on my way

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. 

**
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: Disable close button on Splash screen windows v12

2017-05-17 Thread Robert McKeever via 4D_Tech
John:

Been there (many years ago) in the days of interpretive Basic. Had one client 
who loved to tinker. Since he owned the place, we had no choice but to allow 
it. But then he would go away for a couple of weeks, and they would call me 
when something did’t work. Open the code, and you could see his ‘finger prints’ 
all over the code (yep, we all have styles).

Love the compiler.

I do understand your problem.

> On May 17, 2017, at 8:27 AM, truegold via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Hi Robert,
> 
> I think you meant me not Jeremy.
> 
> This database - and how this admin user has managed things - goes back to 
> 1993 or so. The user has been able to get into “user mode”, now called 
> “design mode”, reliably up until 4D 2012.
> 
> Rather than having code for everything minor change this user still prefers a 
> quick and dirty sprint into “design mode”. Dangerous? Yep! explained? Yep! 
> User wants to change? Nope!
> 
> That’s what I meant. But the only person who is supposed to be able to get 
> into “design mode” is admin.
> 
> Hopefully that explains my ordeal.
> 
> Appreciate,
> John...
> 
>> Jeremy:
>> 
>> 'Quick Edits' of what?
>> 
>> My databases are all compiled. The Designer can do anything, including 
>> exiting the splash screen, and then to user mode. Anyone else can have 
>> certain privileges (or most all), but they can not exit the splash 
>> screen.
>> 
>> Easy to do.
>> 
>>> On May 16, 2017, at 2:32 PM, truegold via 4D_Tech <4d_tech@lists.4d.com> 
>>> wrote:
>>> 
>>> Hi Jeremy,
>>> 
>>> Thanks for the info.
>>> 
>>> I need to make sure that if they log in as admin then this restriction is 
>>> not there. I have tried for years to dissuade the “power” user from going 
>>> into “design mode” but she uses it for quick edits (as unreliable as it has 
>>> seemingly become). Anyway...
>>> 
>>> So I need to make sure only users that are part of the “keep out” group are 
>>> kept out.
>>> 
>>> Will this approach work?
>>> 
>>> Appreciate,
>>> John...
> 
> **
> 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
> **

_
Bob McKeever  http://www.mswl.com 
McKeever's Software Wizardry
Port Coquitlam, B.C.
bobmckee...@mac.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: Disable close button on Splash screen windows v12

2017-05-17 Thread truegold via 4D_Tech
Hi Alan,

Thanks, I’ll give it a try.

I did realize that part of my problem - and why I need a 4D group to prevent 
access - is that some of the code is still run inside the 4D application 
process which is what also controls the splash screen. So it’s possible, even 
after hiding it, to still get into “design mode”.

So if I get the group access figured out so that only admin has access to 
“design mode” in a compiled database then they can keep their splash screen 
window.

I appreciate the code though and will test it.

John...

> 
>> From my code in v13
> 
> Called on Startup method
> DisableWinAppCloseBox (0)  //disable mdi window close box
> DisableWinAppCloseBox (1)  //disable flash screen close box
> 
> The following is trim down version for clarity
> 
> If (<>Platform=3)  //if it is window
> If ($1=0)
> $winRef:=gui_GetWindow ("")  //this is for MDI window
> Else 
> $flashRef:=Frontmost window
> $winRef:=gui_GetWindowFrom4DWin ($flashRef)
> End if 
> 
> If ($winRef>0)
> If ($1=1)  //for flash screen
> $prefered:=<>ScreenWidth  //this is MDI width
> SET WINDOW RECT(0;<>MenuHeight*2;$prefered;<>MDIHeight;$flashRef)  //this 
> must be done before disable close box
> $error:=gui_SetWindowLong ($winRef;WS_MINIMIZEBOX | WS_MAXIMIZEBOX | 
> WS_SYSMENU;WIN_DISABLE;WIN_STYLE)
> End if 
> $error:=gui_DisableCloseBox ($winRef)
> Else 
>  //not concerned in this message
> End if 
> Else 
>  //not concerned in this message
> End if 
> 
> Alan Chan

**
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: Disable close button on Splash screen windows v12

2017-05-17 Thread truegold via 4D_Tech
Hi Robert,

I think you meant me not Jeremy.

This database - and how this admin user has managed things - goes back to 1993 
or so. The user has been able to get into “user mode”, now called “design 
mode”, reliably up until 4D 2012.

Rather than having code for everything minor change this user still prefers a 
quick and dirty sprint into “design mode”. Dangerous? Yep! explained? Yep! User 
wants to change? Nope!

That’s what I meant. But the only person who is supposed to be able to get into 
“design mode” is admin.

Hopefully that explains my ordeal.

Appreciate,
John...

> Jeremy:
> 
> 'Quick Edits' of what?
> 
> My databases are all compiled. The Designer can do anything, including 
> exiting the splash screen, and then to user mode. Anyone else can have 
> certain privileges  (or most all), but they can not exit the splash 
> screen.
> 
> Easy to do.
> 
>> On May 16, 2017, at 2:32 PM, truegold via 4D_Tech <4d_tech@lists.4d.com> 
>> wrote:
>> 
>> Hi Jeremy,
>> 
>> Thanks for the info.
>> 
>> I need to make sure that if they log in as admin then this restriction is 
>> not there. I have tried for years to dissuade the “power” user from going 
>> into “design mode” but she uses it for quick edits (as unreliable as it has 
>> seemingly become). Anyway...
>> 
>> So I need to make sure only users that are part of the “keep out” group are 
>> kept out.
>> 
>> Will this approach work?
>> 
>> Appreciate,
>> John...

**
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: 15.3HF1

2017-05-17 Thread Douglas von Roeder via 4D_Tech
Keon:

Hadn't thought to look there — excellent idea!

Thank you.

--
Douglas von Roeder
949-336-2902

On Wed, May 17, 2017 at 12:48 AM, Koen Van Hooreweghe via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hi Doug,
>
> You can find the download link on forums.4d.fr > Forums > Hotfix for 4D
> v15 ...
>
> Kind regards,
> Koen
>
> Op 17-mei-2017, om 00:06 heeft Douglas von Roeder via 4D_Tech <
> 4d_tech@lists.4d.com> het volgende geschreven:
>
> > An app deployed (beta testing) on 15.3 and I'm running into the BLOB to
> > user bug that was resolved in 15.3HF1.
> >
> > I can download 15.4 from 4D but can't find 15.3HF1.
> >
> > Can some good soul point me in the right direction for that?
>
>
>
> 
> Compass bvba
> Koen Van Hooreweghe
> Kloosterstraat 65
> 9910 Knesselare
> Belgium
> tel +32 495 511.653
>
> **
> 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: Can't delete methods

2017-05-17 Thread Dennis, Neil via 4D_Tech
> I'm just clicking the minus sign below the project methods list. Is there 
> another way?

Run a verify on your structure, repair if needed. Also try quitting, deleting 
the .4dindy, and restarting.


Neil






--


Privacy Disclaimer: This message contains confidential information and is 
intended only for the named addressee. If you are not the named addressee you 
should not disseminate, distribute or copy this email. Please delete this email 
from your system and notify the sender immediately by replying to this email.  
If you are not the intended recipient you are notified that disclosing, 
copying, distributing or taking any action in reliance on the contents of this 
information is strictly prohibited.

The Alternative Investments division of UMB Fund Services provides a full range 
of services to hedge funds, funds of funds and private equity funds.  Any tax 
advice in this communication is not intended to be used, and cannot be used, by 
a client or any other person or entity for the purpose of (a) avoiding 
penalties that may be imposed on any taxpayer or (b) promoting, marketing, or 
recommending to another party any matter addressed herein.
**
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: Can't delete methods

2017-05-17 Thread Kirk Brooks via 4D_Tech
Ah - sometimes the Explorer doesn't completely set itself to the 'area' you
clicked on in the left column. So if you 'think' you've selected the
"Methods" you may not have. Click it again and then try the delete again.

On Wed, May 17, 2017 at 7:40 AM, Doug Hall via 4D_Tech <4d_tech@lists.4d.com
> wrote:

> I'm just clicking the minus sign below the project methods list. Is there
> another way?
>
> On Wed, May 17, 2017 at 9:39 AM, Doug Hall  wrote:
>
> > Nothing but a system alert sound.
> >
> > On Wed, May 17, 2017 at 9:14 AM, Kirk Brooks via 4D_Tech <
> > 4d_tech@lists.4d.com> wrote:
> >
> >> Doug,
> >> How are you trying to delete them and what happens when you do?
> >>
> >> On Wed, May 17, 2017 at 7:07 AM, Doug Hall via 4D_Tech <
> >> 4d_tech@lists.4d.com
> >> > wrote:
> >>
> >> > I have a few methods that I can't delete. I looked in the method
> >> properties
> >> > and can find nothing out of the ordinary, which might be preventing
> >> this.
> >> > They're not used anywhere in my database, and I even emptied the
> >> methods.
> >> > Can someone please point me in the right direction, here?
> >> >
> >> > Thanks,
> >> > Doug
> >> > 
> **
> >> > 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
> >> > 
> **
> >>
> >>
> >>
> >>
> >> --
> >> Kirk Brooks
> >> San Francisco, CA
> >> ===
> >>
> >> *The only thing necessary for the triumph of evil is for good men to do
> >> nothing.*
> >>
> >> *- Edmund Burke*
> >> **
> >> 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
> **
>



-- 
Kirk Brooks
San Francisco, CA
===

*The only thing necessary for the triumph of evil is for good men to do
nothing.*

*- Edmund Burke*
**
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: Can't delete methods

2017-05-17 Thread Doug Hall via 4D_Tech
I'm just clicking the minus sign below the project methods list. Is there
another way?

On Wed, May 17, 2017 at 9:39 AM, Doug Hall  wrote:

> Nothing but a system alert sound.
>
> On Wed, May 17, 2017 at 9:14 AM, Kirk Brooks via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
>> Doug,
>> How are you trying to delete them and what happens when you do?
>>
>> On Wed, May 17, 2017 at 7:07 AM, Doug Hall via 4D_Tech <
>> 4d_tech@lists.4d.com
>> > wrote:
>>
>> > I have a few methods that I can't delete. I looked in the method
>> properties
>> > and can find nothing out of the ordinary, which might be preventing
>> this.
>> > They're not used anywhere in my database, and I even emptied the
>> methods.
>> > Can someone please point me in the right direction, here?
>> >
>> > Thanks,
>> > Doug
>> > **
>> > 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
>> > **
>>
>>
>>
>>
>> --
>> Kirk Brooks
>> San Francisco, CA
>> ===
>>
>> *The only thing necessary for the triumph of evil is for good men to do
>> nothing.*
>>
>> *- Edmund Burke*
>> **
>> 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: Can't delete methods

2017-05-17 Thread Doug Hall via 4D_Tech
Nothing but a system alert sound.

On Wed, May 17, 2017 at 9:14 AM, Kirk Brooks via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Doug,
> How are you trying to delete them and what happens when you do?
>
> On Wed, May 17, 2017 at 7:07 AM, Doug Hall via 4D_Tech <
> 4d_tech@lists.4d.com
> > wrote:
>
> > I have a few methods that I can't delete. I looked in the method
> properties
> > and can find nothing out of the ordinary, which might be preventing this.
> > They're not used anywhere in my database, and I even emptied the methods.
> > Can someone please point me in the right direction, here?
> >
> > Thanks,
> > Doug
> > **
> > 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
> > **
>
>
>
>
> --
> Kirk Brooks
> San Francisco, CA
> ===
>
> *The only thing necessary for the triumph of evil is for good men to do
> nothing.*
>
> *- Edmund Burke*
> **
> 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: Migrating OS X server to Windows Server

2017-05-17 Thread Epperlein, Lutz (agendo) via 4D_Tech
My 2 cents:
http://kb.4d.com/assetid=77769

Regards 
Lutz
**
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: Can't delete methods

2017-05-17 Thread Kirk Brooks via 4D_Tech
Doug,
How are you trying to delete them and what happens when you do?

On Wed, May 17, 2017 at 7:07 AM, Doug Hall via 4D_Tech <4d_tech@lists.4d.com
> wrote:

> I have a few methods that I can't delete. I looked in the method properties
> and can find nothing out of the ordinary, which might be preventing this.
> They're not used anywhere in my database, and I even emptied the methods.
> Can someone please point me in the right direction, here?
>
> Thanks,
> Doug
> **
> 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
> **




-- 
Kirk Brooks
San Francisco, CA
===

*The only thing necessary for the triumph of evil is for good men to do
nothing.*

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

Can't delete methods

2017-05-17 Thread Doug Hall via 4D_Tech
I have a few methods that I can't delete. I looked in the method properties
and can find nothing out of the ordinary, which might be preventing this.
They're not used anywhere in my database, and I even emptied the methods.
Can someone please point me in the right direction, here?

Thanks,
Doug
**
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: Migrating OS X server to Windows Server

2017-05-17 Thread Chip Scheide via 4D_Tech
Sorry Alex,
I will disagree...
your statement makes me "WannaCry".
(in case anyone misses the point... 
https://en.wikipedia.org/wiki/WannaCry_ransomware_attack)

On Wed, 17 May 2017 15:23:37 +0200, Herr Alexander Heintz via 4D_Tech 
wrote:
> far easier to administrate.
---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**
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: Migrating OS X server to Windows Server

2017-05-17 Thread Herr Alexander Heintz via 4D_Tech
Been there,
done that

When upgrading you licence to, say V15, you can register that license on a 
totally different platform, no hassle.

I advise all my clients to move to Windows for Server, its just so much more 
bang for your buck and far easier to administrate.
Oh, and 64Bit even on V12.
As for moving your V12 Licenses to Windows:
Call your 4D Sales Rep, they can „reset“ the activation of your license and you 
can re-register it on another platform.

Cheers
Alex

> Am 17.05.2017 um 15:12 schrieb Paul Lovejoy via 4D_Tech 
> <4d_tech@lists.4d.com>:
> 
> Hi,
> 
> We are hitting the limits of our old xServe hardware which is currently 
> running large v12 databases. We are planning a major upgrade to 4D v15 but we 
> are running into difficulties with the stability of these old xServes with OS 
> X 10.10 or more recent, which is required for v15. We are currently 
> attempting to run v12 on OS X 10.10.5 and the results are disastrous, so we 
> have to go back to older OS versions.
> 
> Since Apple has no longer upgraded its server hardware for over 7 years, this 
> is obviously a lost cause. So we will be looking to move to Windows.
> 
> Has anyone done such a move recently? Does 4D have a policy for side-grades 
> from Mac to Win for server licenses?
> 
> 
> Cheers,
> 
> 
> Paul
> **
> 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
**

Migrating OS X server to Windows Server

2017-05-17 Thread Paul Lovejoy via 4D_Tech
Hi,

We are hitting the limits of our old xServe hardware which is currently running 
large v12 databases. We are planning a major upgrade to 4D v15 but we are 
running into difficulties with the stability of these old xServes with OS X 
10.10 or more recent, which is required for v15. We are currently attempting to 
run v12 on OS X 10.10.5 and the results are disastrous, so we have to go back 
to older OS versions.

Since Apple has no longer upgraded its server hardware for over 7 years, this 
is obviously a lost cause. So we will be looking to move to Windows.

Has anyone done such a move recently? Does 4D have a policy for side-grades 
from Mac to Win for server licenses?


Cheers,


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

Access Groups and Objects

2017-05-17 Thread Benedict, Tom via 4D_Tech
I think this question comes up from time to time, but I couldn't find it in the 
archives.

We use 4D Users & Groups for menu, form and method access control. Is there a 
way to get a listing of menus, forms and methods by access group?

Thanks,

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

Bug when printing to preview on Mac

2017-05-17 Thread Peter Bozek via 4D_Tech
I run into strange behavior, probably bug, when printing from 4D v15.4.
Maybe somebody has a feedback or workaround.

I made a single printing code

PRINT SETTINGS
$l:=Print form("printTest")
PAGE BREAK

called from button script (printTest form fontain just one static test.)
Clicking on button prints a page with text. Everything is fine until I
select "Open PDF in Preview" in print dialog - from that moment, any print
to any destination goes to preview.

GET PRINT OPTION(Destination option;$l) returns 1 and
SET PRINT OPTION(Destination option;1) does not help.

Bug does not seem to be in v16.


--


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: built client and versions

2017-05-17 Thread Chuck Miller via 4D_Tech
I know that problem is that at this account we can not allow this type of 
updates as PCs have special install procedures every time they restart machine 
OS image etc is downloaded 

Thanks anyway and regards 
Chuck 

Sent from my iPhone

> On May 17, 2017, at 3:52 AM, Koen Van Hooreweghe via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> In case of a build client/server app, the 'client' should be able to connect 
> to the server and will be automatically updated. Besides an exception 
> concerning the network protocol (legacy/new network layer) this is also 
> possible between major versions: v14>v15, v15->v16.

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

2017-05-17 Thread Alan Chan via 4D_Tech
Did you check OK variable after SET CHANNEL?

By the way, I prefer using Goto Selected Record instead of Next Record.

Alan Chan

4D iNug Technical <4d_tech@lists.4d.com> writes:
>SET CHANNEL(10;$File_Path)
>
>For ($i;1;Records in selection([Bug_Reporting]))
>SEND RECORD([Bug_Reporting])
>NEXT RECORD([Bug_Reporting])
>End for 
>SET CHANNEL(11)

**
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: built client and versions

2017-05-17 Thread Koen Van Hooreweghe via 4D_Tech
Hi Charles,

In case of a build client/server app, the 'client' should be able to connect to 
the server and will be automatically updated. Besides an exception concerning 
the network protocol (legacy/new network layer) this is also possible between 
major versions: v14>v15, v15->v16.

HTH
Koen

Op 16-mei-2017, om 23:06 heeft Charles Miller via 4D_Tech 
<4d_tech@lists.4d.com> het volgende geschreven:

> If I build clients with 15.4 hot fix 2 and then build server with 15.5 (If
> and when it comes out). Will client connect and work.
> 
> I would guess same issue for earlier versions. If I built with 15.3 hot fix
> x and then built server with 15.45 will it connect?




Compass bvba
Koen Van Hooreweghe
Kloosterstraat 65
9910 Knesselare
Belgium
tel +32 495 511.653

**
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: 15.3HF1

2017-05-17 Thread Koen Van Hooreweghe via 4D_Tech
Hi Doug,

You can find the download link on forums.4d.fr > Forums > Hotfix for 4D v15 ...

Kind regards,
Koen

Op 17-mei-2017, om 00:06 heeft Douglas von Roeder via 4D_Tech 
<4d_tech@lists.4d.com> het volgende geschreven:

> An app deployed (beta testing) on 15.3 and I'm running into the BLOB to
> user bug that was resolved in 15.3HF1.
> 
> I can download 15.4 from 4D but can't find 15.3HF1.
> 
> Can some good soul point me in the right direction for that?




Compass bvba
Koen Van Hooreweghe
Kloosterstraat 65
9910 Knesselare
Belgium
tel +32 495 511.653

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