Re: V17.6 How to getting a newly-related record to load in ORDA

2019-11-19 Thread Justin Carr via 4D_Tech
into the relation, regardless of which field the relation is drawn to. cheers Justin > On 19 Nov 2019, at 6:50 pm, Justin Carr via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Hi Chris > > Short answer is that if the many table is related to a field in the one table > which is NOT

Re: V17.6 How to getting a newly-related record to load in ORDA

2019-11-19 Thread Justin Carr via 4D_Tech
Hi Chris Short answer is that if the many table is related to a field in the one table which is NOT the primary key of the one table, the you should ***ABSOLUTELY NOT USE ORDA*** to set the value of the many table field. There is a horrible bug in ORDA where regardless of which field the

[ANN] 4D Developer Positions Available

2019-11-10 Thread Justin Carr via 4D_Tech
in finding out more you can contact employeeexperie...@geniesolutions.com.au or feel free to email me directly. cheers! Justin Carr Senior Developer Genie Solutions Pty Ltd ** 4D Internet Users Group (4D iNUG) Archive: http

Re: Running v16.6 built application as a service on Windows SBS 2011

2019-08-27 Thread Justin Carr via 4D_Tech
> On 28 Aug 2019, at 10:23 am, Mike Beatty via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > All- > > Running into an issue trying to get a v16.6 built application to run as a > service, wondering if anyone has this in place before we ramp up the > troubleshooting. > > A few notes — this is on

Re: Form and DIALOG

2019-04-29 Thread Justin Carr via 4D_Tech
Jeremy, That's definitely one of the supported/encouraged behaviours as far as I am aware. cheers J > On 29 Apr 2019, at 6:05 pm, Jeremy Roussak via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Is it safe to use the object returned by the Form command as a means of > passing data back to the

Re: Custom Form Events

2019-04-23 Thread Justin Carr via 4D_Tech
Hi Chris We use SET TIMER(-1) a lot for this purpose. It is ideal when you want to do something as part of On Load but you need the On Load execution cycle to finish first before you do the next thing, e.g. you need to know the size and position of an object on a form before you take some

[ANN] 4D Developer Position Available

2019-04-16 Thread Justin Carr via 4D_Tech
the right candidate with a working visa if that is required. All the details you need to get started are in this link: https://www.seek.com.au/job/38609196 Feel free to email me directly with any questions. Thanks for reading! Justin Carr Senior Developer Genie Solutions Pty Ltd Brisbane, Australia

Re: Write Hex Bytes

2019-02-21 Thread Justin Carr via 4D_Tech
On 22 Feb 2019, at 10:30 am, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> wrote: > > it sounds like you are over-thinking :) > > you could just do > > SET BLOB SIZE($bytes;4) > > $bytes{0}:=78 > $bytes{1}:=48 > $bytes{2}:=75 > $bytes{3}:=00 > > then BLOB TO DOCUMENT. > > not need to go

Re: Set Time question

2019-02-14 Thread Justin Carr via 4D_Tech
On 14 Feb 2019, at 10:18 pm, Arnaud de Montard via 4D_Tech <4d_tech@lists.4d.com> wrote: > > >> Le 10 févr. 2019 à 18:41, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> a >> écrit : >> >> Just to add a little more to this. > > Me too, forgot to mention CALL FORM: has a message queue, can

Re: 4Dv15 applications as a Service in Windows Server 2012

2018-09-13 Thread Justin Carr via 4D_Tech
On 13 Sep 2018, at 5:14 pm, Ronnie Teo via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Hi David, > > Thanks for your tip. > I have conducted the test as per your suggestion and from the results of the > test, it does not appear to be a firewall problem. > > a) 4Dv15.5 (32-bit) - server app

Re: New record numbering system and CALL WORKER

2018-08-27 Thread Justin Carr via 4D_Tech
On 28 Aug 2018, at 11:52 am, Chuck Miller via 4D_Tech <4d_tech@lists.4d.com> wrote: > > It does, but remember if you already have multiple transactions, you will > have to keep track and may have to suspend that many times I don't think that is true. When you SUSPEND TRANSACTION, the effective

Re: New record numbering system and CALL WORKER

2018-08-27 Thread Justin Carr via 4D_Tech
On 28 Aug 2018, at 6:08 am, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Hey guys - the very issue with the record counter is sketched out in the > discussion about Suspending Transactions: > > http://doc.4d.com/4Dv16/4D/16.3/Suspending-transactions.300-3652126.en.html > > > I

Re: v17.0 HF1 Bug Fix delayed process not waking fix

2018-08-13 Thread Justin Carr via 4D_Tech
On 14 Aug 2018, at 2:18 am, Tim Nevels via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Got an email about v17.0 HF1 being released. This fixed bug caught my eye: > > > ACI0098368 A delayed processes do not wake up if paused and then resumed: > it stays in pause mode. > > Could this be a fix

Re: 4D Write, pictures in page, frozen document, to 4D Write Pro

2018-06-24 Thread Justin Carr via 4D_Tech
Just a a guess John, but is it possible the pictures that don't convert were inserted in PICT format? Maybe you could select one of the letters with troublesome images and convert one of those images in place to PNG (using CONVERT PICTURE). Then try opening that letter again in 4D Write Pro.

Re: Write Pro: programmatically manipulate text expertise needed

2018-06-21 Thread Justin Carr via 4D_Tech
On 21 Jun 2018, at 4:49 pm, Piotr Chabot Stadhouders via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Hi Justin, Pat, > > Using WP SELECT that is called in a method via CALL FORM seems to work, > thanks for that! > > I must say, I can't believe it's 4D's intention that we constantly have to >

Re: Delay process bug

2018-06-18 Thread Justin Carr via 4D_Tech
On 18 Jun 2018, at 4:39 pm, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Justin, > I do use DELAY PROCESS but as I said it's only for a minute or two. > And like I said maybe I've simply been lucky. As my business mentor used to > say, "sometimes it's better to be lucky than smart."

Re: Delay process bug

2018-06-17 Thread Justin Carr via 4D_Tech
On 18 Jun 2018, at 1:31 pm, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> wrote: > > according to the bug description for ACI0098368 ("Delayed processes do not > wake up if paused/resumed while already delayed"), > > it's not that the DELAY P. has a problem resuming, > the problem

Re: Write Pro: programmatically manipulate text expertise needed

2018-06-17 Thread Justin Carr via 4D_Tech
On 15 Jun 2018, at 10:01 pm, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Hi Piotr, > I think you can use WP SELECT to do this - > WP SELECT ( {* ;} wpArea {; targetObj} | {; startRange ; endRange} ) > > Let me know if you can't get that to work and I'll take a closer look at it. >

Re: Delay process bug

2018-06-17 Thread Justin Carr via 4D_Tech
On 16 Jun 2018, at 12:20 am, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> wrote: > > I have never had an issue with DELAY PROCESS. Maybe I'm lucky. I don't > think I've ever used it to delay something more than a matter of seconds, > though. It would never have occurred to me to DELAY PROCESS

Re: Build with code signing

2018-06-11 Thread Justin Carr via 4D_Tech
Building on Cannon's code, rather than calling codesign directly with the --deep flag we use the shell script that is distributed in the 4D app bundle, which takes care of the signing of all of the subcomponents for you. You still need to remove the extended attributes first (with xattr -cr) as

Re: procedurally delete anchored image in 4D Write Pro

2018-05-23 Thread Justin Carr via 4D_Tech
On 24 May 2018, at 10:01 am, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> wrote: > > I think you need to first change the layout to inline (by UI or code), in > order to delete an image. > > but the attribute "wk anchor layout" is not settable with WP SET ATTRIBUTES >

Re: procedurally delete anchored image in 4D Write Pro

2018-05-23 Thread Justin Carr via 4D_Tech
> On 18 May 2018, at 11:21 pm, Piotr Chabot Stadhouders via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > How can I procedurally delete an anchored image in a 4D Write Pro document? > > I know how to select the image with > WP SELECT(*;"WParea";$image_object) > > But then what? Try: INVOKE

Re: Find and Replace Component for 4D Write Pro

2018-03-07 Thread Justin Carr via 4D_Tech
On 8 Mar 2018, at 1:46 am, Jeff Grann via 4D_Tech <4d_tech@lists.4d.com> wrote: > > I had the need to add find and replace to my 4D Write Pro areas. So I created > a generic component. It easily shows and hides itself at the top of a Write > Pro area and can resize itself automatically. You can

Re: 4D 15R5 Feedback

2018-02-27 Thread Justin Carr via 4D_Tech
om> wrote: > > Justin, > > Was it the volume of SOAP calls or the frequency that caused the crashes? > > We are clocking around 400 per minute at peak times. > > > > On Wed, Feb 28, 2018 at 9:39 AM, Justin Carr via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >

Re: New Log Parser says : this doesnt make sense

2017-12-01 Thread Justin Carr via 4D_Tech
On 1 Dec 2017, at 5:44 pm, Piotr Chabot Stadhouders via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Hi, > > I am trying to use the new Log Parser, but without success > > First of all, when I start logging I have 10 files of 10MB each within 1 > minute, but that's not the problem (or is it) >

Re: 4D Debug Log Reader - Plugin Commands

2017-11-29 Thread Justin Carr via 4D_Tech
On 30 Nov 2017, at 10:41 am, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> wrote: > > to clarify: > > - command number > > the command number explained in this example corresponds to the right side of > e.g. "3;1" > and it can be derived from manifest.json inside the plugin bundle (v14

Re: Symlinks in Windows

2017-11-08 Thread Justin Carr via 4D_Tech
On 9 Nov 2017, at 10:19 am, Lee Hinde via 4D_Tech <4d_tech@lists.4d.com> wrote: > > On a Mac, when I want apache to front my 4D web server, I create a symlink > in the Apache document directory to my web folder in the database directory. > > That way, I only have to install and maintain the web

Re: LEP - and Batch files

2017-11-08 Thread Justin Carr via 4D_Tech
On 9 Nov 2017, at 4:44 am, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> wrote: > > I have tried all of the offered suggestions: > Start ?b > running without a call to cmd > \batchfilename\ > extended this to cover the file paths in the batch file > > none of these result in file copying

Re: TEXT TO DOCUMENT With Special Characters

2017-08-30 Thread Justin Carr via 4D_Tech
On 31 Aug 2017, at 8:53 am, Cannon Smith via 4D_Tech <4d_tech@lists.4d.com> wrote: > > I’m having trouble with saving Unicode characters to a file. For example, the > following code saves a file to disk: > > C_TEXT($tText;$tFilepath) > > $tText:=“©” //Copyright symbol > $tFilepath:=System

Re: 4D Write PRO how to ...

2017-08-21 Thread Justin Carr via 4D_Tech
On 21 Aug 2017, at 9:55 pm, Two Way Communications via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Using the old 4D Write, I loop through all the frames (frames 1-> 7), using > ‘WR SET FRAME’ . Then I resolve the expressions. > This way, all the references in the headers, text frames and footers

Re: Set_Exists() function: Simple version

2017-07-17 Thread Justin Carr via 4D_Tech
On 17 Jul 2017, at 5:03 pm, Robert Livingston <rlivings...@me.com> wrote: > > >> On Jul 16, 2017, at 9:09 PM, Justin Carr via 4D_Tech <4d_tech@lists.4d.com >> <mailto:4d_tech@lists.4d.com>> wrote: >> >> Are you able to provide a link to where t

Re: Set_Exists() function: Simple version

2017-07-16 Thread Justin Carr via 4D_Tech
On 17 Jul 2017, at 5:07 am, Robert Livingston via 4D_Tech <4d_tech@lists.4d.com> wrote: > > On Jul 14, 2017, at 5:10 PM, David Adams via 4D_Tech <4d_tech@lists.4d.com> > wrote: >> >> I was just consolidating some old code and ran across something that I >> wrote some time back called

Re: Array Range Check Issue

2017-07-02 Thread Justin Carr via 4D_Tech
On 1 Jul 2017, at 12:12 am, Stephen J. Orth via 4D_Tech <4d_tech@lists.4d.com> wrote: > > I am getting an array range check error on the following line: > > If (Size of array(as_function)>=1) > > This is a compiled application, so how does this type of error even exist > for this line? >

Re: Automatic type-ahead on single-column listbox?

2017-06-27 Thread Justin Carr via 4D_Tech
On 28 Jun 2017, at 12:01 pm, David Adams via 4D_Tech <4d_tech@lists.4d.com> wrote: > > On Wed, Jun 28, 2017 at 11:54 AM, Wayne Stewart via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> Hi, >> >> I did it with help from Dave Batton (so you can imagine how fresh this >> solution is)! >> >> The

Re: Programmatically scroll a web area

2017-06-11 Thread Justin Carr via 4D_Tech
We do this all the time and don't see this issue. Mind you we never deployed with v15. What works for us with at least v12-14 and v16R2 is to use an internal webarea and open a blank URL first before opening the path to the PDF, i.e. WA OPEN URL(*;"webarea_name";"about:blank") WA OPEN

Re: How do you force resources to download these days?

2017-06-04 Thread Justin Carr via 4D_Tech
On 5 Jun 2017, at 12:32 pm, David Adams via 4D_Tech <4d_tech@lists.4d.com> wrote: > > On Mon, Jun 5, 2017 at 10:22 AM, Justin Carr via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> NOTIFY RESOURCES FOLDER MODIFICATION > > Thanks J. Hmmm. Added in V1

Re: How do you force resources to download these days?

2017-06-04 Thread Justin Carr via 4D_Tech
On 5 Jun 2017, at 9:50 am, David Adams via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Grrr. Didn't figure out how to find this in the docs. There used to be a > tickbox. Could be but I don't think I ever used it. We just run a method with the EOS bit checked which contains the NOTIFY RESOURCES

Re: 4D Volume desktop v15/v16 in write protected folder

2017-01-11 Thread Justin Carr
And you also need to run the application once from a writeable area before you move it to the non writeable media. > On 12 Jan 2017, at 12:38 pm, Spencer Hinsdale wrote: > > i think the question is how to make it run. first you check the checkbox, > "Do not display

Re: Debug Log Analyzer

2016-12-18 Thread Justin Carr
On 18 Dec 2016, at 11:22 am, Cannon Smith wrote: > > I think there used to be a Debug Log Analyzer tool for v11. Does anyone know > if there is something similar for the new debug log format in v14+? Something > that would work with v16 log files? Hi Cannon

Re: Debug Log tool

2016-12-05 Thread Justin Carr
> On 6 Dec 2016, at 3:34 am, Timothy Penner wrote: > >> https://github.com/j-genie/4D-DebugLogReader >> Note that the log files are parsed into memory for performance reasons, so >> there is a limit on how many you can process at a time. We tend to limit it >> to 5 at a time. >

Re: Debug Log tool

2016-12-04 Thread Justin Carr
the requirement: https://github.com/j-genie/4D-DebugLogReader Note that the log files are parsed into memory for performance reasons, so there is a limit on how many you can process at a time. We tend to limit it to 5 at a time

Re: 4DDB CRON is running?

2016-11-08 Thread Justin Carr
On 08/11/2016, at 8:04 PM, David Adams wrote: > Thanks to everyone for the info. Is it safe to quit 4D while it's > displaying this message? Haven't damaged my data yet ;) ** 4D Internet Users Group (4D iNUG)

Re: 4DDB CRON is running?

2016-11-08 Thread Justin Carr
On 8 Nov 2016, at 4:04 pm, David Adams wrote: > > Any background information on this V15 message at quit? > > I didn't find anything in kb.4d.com or the V15 docs. Hey David We see it all the time. There's a couple of fixes have supposedly gone into nightly builds: Fixed

Re: PHP random errors

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