RE: Execute on Server Method Attribute

2018-07-14 Thread Stephen J. Orth via 4D_Tech
Doug, Thanks, that is the approach I'm taking now... We will see. Steve -Original Message- From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Douglas von Roeder via 4D_Tech Sent: Saturday, July 14, 2018 3:26 PM To: 4D iNug Technical <4d_tech@lists.4d.com> Cc: Douglas

Re: Execute on Server Method Attribute

2018-07-14 Thread Jeremy French via 4D_Tech
Does the database compile with compiler option “All variables are typed”? Have you tried assertions to test each parameter has the expected value type (test, date, time, pointer, pointed array type)? The failed assertion will be displayed on the server. > On Jul 14, 2018, at 10:12 AM, Stephen

Re: Execute on Server Method Attribute

2018-07-14 Thread Ben Kershaw via 4D_Tech
On Jul 14, 2018, at 11:12 AM, Stephen J. Orth wrote: > > I'm struggling with designating a method to run on the server. The method > has 9 parameters which are passed to it: > > 1. Text Variable > 2. Date Variable > 3. Time (Long) Variable > 4. Date Variable > 5. Time (Long)

Re: Execute on Server Method Attribute

2018-07-14 Thread Tim Nevels via 4D_Tech
I would start simple. First be sure to declare the parameters with compiler directives. Then modify the method to only use a single text parameter. Change the parameter declarations too. Just for testing purposes. Test it. If it does not generate an error with 1 parameter, add a second

Re: Execute on Server Method Attribute

2018-07-14 Thread Douglas von Roeder via 4D_Tech
Steve: Try "bottom up" construction of the method. Create a method and get it to work with the most simple function. Then, incrementally add the code from the existing method. Don't copy and paste from the existing method — retype the code (that's based on a concern about "gremlins in the

RE: Execute on Server Method Attribute

2018-07-14 Thread Stephen J. Orth via 4D_Tech
Tim, Hey, hope all is going well with you! I've done all this and having no luck. I've written many methods that use the EOS attribute, this is the first time I've run into any issue. Steve -Original Message- From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Tim

Re: WP SET ATTRIBUTES

2018-07-14 Thread Tim Nevels via 4D_Tech
The WP SET ATTRIBUTES command needs 5 parameters. You are trying to send it only 2 parameters. Tim Sent from my iPad > On Jul 14, 2018, at 10:12 AM, Pat Bensky wrote: > > Using v17 > This works: > > *WP SET ATTRIBUTES*(oCurrentRange;wk font;"Arial";wk font size;14) > > ​so why doesn't

Re: WP SET ATTRIBUTES

2018-07-14 Thread Pat Bensky via 4D_Tech
Hi Tim, I'm sending 4 Attributes (two pairs) plus the target object, so that seems correct to me ... WP SET ATTRIBUTES ( targetObj ; attribName ; attribValue {; attribName2 ; attribValue2 ; ... ; attribNameN ; attribValueN} ) On Sat, 14 Jul 2018 at 19:51, Tim Nevels via 4D_Tech

Re: Execute on Server Method Attribute

2018-07-14 Thread Kirk Brooks via 4D_Tech
Steve, I think you're using v15 at least - so, put all those parameters into an object and pass the object as the parameter. This resolves the 'Accessing a missing parameter' error. You can put the arrays directly into the object instead of using pointers. This way the server side method can

Re: Who’s the Gestapo?

2018-07-14 Thread Robert ListMail via 4D_Tech
Hello World! Sent from my iPhone > On Jul 14, 2018, at 6:22 AM, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > and ... What did they post that got them blocked? > > On Sat, 14 Jul 2018 at 05:34, Robert ListMail via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> I tried to turn on

Execute on Server Method Attribute

2018-07-14 Thread Stephen J. Orth via 4D_Tech
I'm struggling with designating a method to run on the server. The method has 9 parameters which are passed to it: 1. Text Variable 2. Date Variable 3. Time (Long) Variable 4. Date Variable 5. Time (Long) Variable 6. Pointer To Array 7. Pointer To Array 8.

standard action for design mode not working in 17.0

2018-07-14 Thread John DeSoi via 4D_Tech
I converted a structure from 16.3HF4 to 17.0. A button that worked in version 16 to open design mode (standard action = design), does not work in version 17. It shows the list of files application window, but keeps the startup menubar set for the runtime environment. Anyone seen or solved

Re: Why won't Help Tip editor accept Carriage Return?

2018-07-14 Thread Alan Tilson via 4D_Tech
also for the record, this problem exists in v13.6 in windows as well as macOS. the copy & paste solution helps. closing and reopening the help tips window also generally clears the issue for a while. Alan On Tue, Jun 12, 2018 at 7:48 AM Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> wrote: > We

Re: Who’s the Gestapo?

2018-07-14 Thread Pat Bensky via 4D_Tech
and ... What did they post that got them blocked? On Sat, 14 Jul 2018 at 05:34, Robert ListMail via 4D_Tech < 4d_tech@lists.4d.com> wrote: > I tried to turn on a few young developers to 4D and suggested they join > the list. They were never able to post. I take it the list is highly > censored

Re: How to protect JS Source Code?

2018-07-14 Thread John DeSoi via 4D_Tech
There is not much you can do. Javascript can be minimized and obfuscated, but there are plenty of tools to reverse that. John DeSoi, Ph.D. > On Jul 13, 2018, at 11:38 PM, Robert ListMail via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > One of the beauties of 4D is that the source code can be

WritePro - how to apply columns to a range?

2018-07-14 Thread Pat Bensky via 4D_Tech
​Using v17 ... A document can be set into columns by calling: *WP SET ATTRIBUTES*( ​wpDoc ;wk column count; ​2​ ) ​ ​But I want to apply columns to a range of text, not the whole document. This doesn't work: *WP SET ATTRIBUTES*(oCurrentRange;wk column count; ​2​ ) ​ ​I get the error:

RE: Execute on Server Method Attribute

2018-07-14 Thread Stephen J. Orth via 4D_Tech
I'm completely confused... No matter how I send the parameters (pointer, variable, text string) into this method with the EOS attribute enabled, Server is complaining that I'm accessing a parameter that does not exist. I've looked at the documentation and my method follows exactly what is