Re: execute method

2020-07-16 Thread Pat Bensky via 4D_Tech
What version of 4D are you using? The best way to handle this is to use PROCESS 4D TAGS. You can create a sort of mini-method and then execute it on the fly. Here is a simple example: tMethod:="" Then to execute it you just call EXECUTE METHOD(tMethod) A warning ... Since the

Re: execute method

2020-07-16 Thread Neil Dennis via 4D_Tech
4 PM, stardata.info via 4D_Tech >> <4d_tech@lists.4d.com> wrote: >> >> Hi all, >> >> Some one have experience with execute method command? >> >> I've need to insert some rows of 4D commands in one text field of a table, >> and after to exectur

Re: execute method

2020-07-16 Thread Chuck Miller via 4D_Tech
not compromise or waive such confidentiality, privilege or exemption from disclosure as to this communication. > On Jul 16, 2020, at 2:34 PM, stardata.info via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Hi all, > > Some one have experience with execute method command? >

execute method

2020-07-16 Thread stardata.info via 4D_Tech
Hi all, Some one have experience with execute method command? I've need to insert some rows of 4D commands in one text field of a table, and after to execture this rows of code as a method. Can i create programmatically method and after execute

Re: Here's something cool about using Execute Method

2016-11-29 Thread David Adams
> So that's what got me thinking about extending the idea to also figure out > the param input types That's very easy to do if you declare the parameters within the method. (I always do.) Here are the steps in a brute-force approach. C_TEXT($0;$foo_bar) // This result returns a foobar. * Get

Re: Here's something cool about using Execute Method

2016-11-29 Thread Kirk Brooks
Tim, Sorry, I didn't mean to put you in a corner. Or speak ill of Footrunner in any way. It's been a great benefit to the community for years. I use it myself frequently. To phrase it a different way, it looks like I could use #4DCODE to write fairly sophisticated methods in 4D code and run them

RE: Here's something cool about using Execute Method

2016-11-29 Thread Timothy Penner
Hi Kirk, I haven't used footrunner so I cannot comment on its comparison to the built in feature of 4D. Hope that helps, -Tim PENNER ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive:

Re: Here's something cool about using Execute Method

2016-11-29 Thread Kirk Brooks
Tim, Wow - I hadn't even gotten down to #4DCODE. Am I wrong in my quick read about #4DCODE that it basically allows the same sort of functionality that FootRunner does? On Tue, Nov 29, 2016 at 4:59 PM, Timothy Penner wrote: > Hi Kirk, > > > This seems especially well suited to

RE: Here's something cool about using Execute Method

2016-11-29 Thread Timothy Penner
Hi Kirk, > This seems especially well suited to things like maintenance tasks. To expand on your existing idea: How about providing a file to the end user that uses the 4DCODE tag; http://livedoc.4d.com/4Dv15-R5/help/Title/en/page2850.html#2880146 Then have a UI that uses PROCESS 4D TAGS to

Here's something cool about using Execute Method

2016-11-29 Thread Kirk Brooks
I'm writing an update procedure for a database that uses Execute formula a lot. Which got me looking at the benefits of Execute Method. This also got me thinking about ways to make some methods I might write for users to invoke and how I would go about making a little form for controlling which