Re: Running v15 Server as a Service in Windows Server 2016

2020-08-03 Thread Peter Jakobsson via 4D_Tech
Thanks Pat ! I will use OPEN ADMINISTRATION WINDOW in that case. Peter > On 3 Aug 2020, at 14:38, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Yes, you will need to access it rhough the client. > > Pat ** 4D

Re: Running v15 Server as a Service in Windows Server 2016

2020-08-03 Thread Peter Jakobsson via 4D_Tech
> On 3 Aug 2020, at 13:46, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > did you start the app as administrator? That was it ! It works now, thanks Miyako (also I forgot about the new forum - will check it out. Old habits etc…still referring to “Layout Procedures"). > On 3

Running v15 Server as a Service in Windows Server 2016

2020-08-03 Thread Peter Jakobsson via 4D_Tech
Hi Have been running a 4D Server as an application for a long time on this platform but need to change to a service so the admin people can set Windows updates to “automatic”. However when I “Register as a Service” (from the File menu in 4D Server) it doesn’t seem to appear in the services

Re: Old 4D Transporter (ResTransporter) or Equivalent

2020-07-05 Thread Peter Jakobsson via 4D_Tech
Hi Folks Many thanks for all the tips - much appreciated. I managed to solve my problem with Spencer’s suggestion to write my own Transporter in 4D using DOCUMENT TO BLOB(file;*) to split the resource fork away and save it as a data fork. That let me transfer to Windows. My old structure and

Re: Old 4D Transporter (ResTransporter) or Equivalent

2020-07-04 Thread Peter Jakobsson via 4D_Tech
> On 4 Jul 2020, at 17:59, Spencer Hinsdale wrote: > Maybe you can do this with 4D? There is a asterisk param for blob to > document, document to blob. You just read in the res fork and write out as > non-res file with .rsr I would think. Great idea Spencer. Thanks for the tip. I can use

Old 4D Transporter (ResTransporter) or Equivalent

2020-07-04 Thread Peter Jakobsson via 4D_Tech
Hi I was wondering if there’s a tool to split the 4D resource fork on a 4D 2004 database so I can transport it from Mac to Windows. I haven’t done this for years and have lost access to my old “Snowleopard” machine that I used to use for this type of thing. I need the “transporter” tool to

Re: [off-ish]VPNs - free is better

2020-06-01 Thread Peter Jakobsson via 4D_Tech
Hi Chip What is the “recent legislation” you’re referring to ? I don’t use a private VPN for accessing clients but do use a public one for all my internet use (NordVPN). It’s excellent, cheap and lets you switch between static and dynamic IPs according to need. (e.g. I have a client network I

Tip: Speed up/repair v15 Design Environment

2020-05-17 Thread Peter Jakobsson via 4D_Tech
Hi I might be late to the party on this one but in case in might help someone in similar situation…. Over the last year or so, I’ve been working with a really sluggish design environment in v15 (Mac). I wasn’t actually aware it was sluggish until now. Symptoms like the method editor being so

Re: ListBoxes and AreaList Pro again (was: Object notation replacement for use of Self in a script — v18)

2020-05-04 Thread Peter Jakobsson via 4D_Tech
This is always a no brainer for me. Arealist every time. It’s just far more professional looking and performing IMO. I use listboxes a lot for testing - I really use them quite intensively for that, but then I go and do the production version with Arealist since I still find list boxes clunky

Re: 4D Summit Videos

2020-04-23 Thread Peter Jakobsson via 4D_Tech
> On 23 Apr 2020, at 16:25, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Notable, so far anyway, is nothing from JPR [purposely employing the secret > Bat Signal] or Laurent Ribardiere. I think those are being held back for the “finale”. The LR one is referred to though as

4D Summit Videos

2020-04-23 Thread Peter Jakobsson via 4D_Tech
Hi Has anybody seen any of the summit stuff yet ? I watched Miyako’s and Laurent Esnault’s presentations yesterday. I thought it was pretty incredible - looks like in the league of 2004 to v11 league of technology leap. I love the way classes have been implemented - it’s exactly how I hoped

Re: Remote working with 4D networks - what are people using ?

2020-03-19 Thread Peter Jakobsson via 4D_Tech
> On 19 Mar 2020, at 12:39, Randy Kaempen via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I have to disagree. I use screen sharing to access remote Macs on many of my > clients’ systems. It is fast and easy to use. I can do whatever I want on > the remote machines. What remote access

Remote working with 4D networks - what are people using ?

2020-03-19 Thread Peter Jakobsson via 4D_Tech
Hi Due to impending “lockdown” situations I have users asking me how they can work from home. I was wondering what solutions others were finding worked well. The service provider that many of the key users have at home (Talk-Talk in the UK) blanket blocks all screen sharing software so will

Re: 4D Write Preview Fails on certain workstation (Windows)

2020-03-06 Thread Peter Jakobsson via 4D_Tech
> On 6 Mar 2020, at 18:21, Costas Manousakis via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > We have not seen a blank preview but shrunk previews where it seemed like the > normal letter size page was printed, then reduced in size and then placed on > a letter size paper Thanks for the

4D Write Preview Fails on certain workstation (Windows)

2020-03-06 Thread Peter Jakobsson via 4D_Tech
Hi I was wondering if anybody had encountered this issue. 4D Write document preview (created using "WR Build Preview”) displays a blank picture only on one workstation on the entire network (there are 8 workstations). There is nothing obviously distinct about that workstation: 4D v15

Re: Best "back to school" pathway for upgraders

2020-02-23 Thread Peter Jakobsson via 4D_Tech
Thanks Tom All my PICTS were indeed converted “years ago”. Peter > On 21 Feb 2020, at 17:55, Tom Benedict via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I agree with Randy, unless you converted all your PICTs years ago when 4D > first started to warn us about them. If you haven’t converted

Best "back to school" pathway for upgraders

2020-02-21 Thread Peter Jakobsson via 4D_Tech
Hi I’m collating resources for informing myself on new features and language for moving from v15 to v18. Plan to do it in one leap over a year at least. I don’t really see the point in hanging around in an intermediate version. There is so much new stuff it’s getting overwhelming because now,

Re: What constitutes high-perf. hardware for 4D server these days ?

2020-02-21 Thread Peter Jakobsson via 4D_Tech
Hi Tom Many thanks for your useful observations. I’m not quite sure of the priorities given to 4D in the VM but the support guy said he needed some kind of IP packet specification details which 4D used to give it “full priority”. I think that was so that other bandwidth demands (such as large

What constitutes high-perf. hardware for 4D server these days ?

2020-02-19 Thread Peter Jakobsson via 4D_Tech
…that is the question ! I have a site that I just launched - usual moderate-trauma of initial days but basically holding up so far and improving by the day. I now need to try and optimise it a bit as it’s still slightly sluggish and was wondering what people were running in terms of hardware.

Re: v18 and 4D Write Classic - does it work ?

2020-02-06 Thread Peter Jakobsson via 4D_Tech
Many thanks for that comprehensive and extensive commentary Tim ! Looks like I have my work cut out. All the 4D Write code I have is in a component and the component makes around 30 calls or so to 4D Write. There’s no raw host calls anywhere. Hopefully it will be do-able but will take your

v18 and 4D Write Classic - does it work ?

2020-02-05 Thread Peter Jakobsson via 4D_Tech
Hi I’m going to be making the leap from v15 to v18. I think the biggest transition will be moving to 4D Write Pro as I have quite a lot of legacy 4D Write code to deal with. In the meantime, does anybody have experience of migrating big 4D Write codebases ? What are the major gotchas ? Will

Re: O/S Replication and Backup interaction with 4D (2004, v15)

2019-12-04 Thread Peter Jakobsson via 4D_Tech
Hi Timothy That post was very useful. Many thanks. Regards Peter > On 4 Dec 2019, at 20:15, Timothy Penner via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > It sounds like you're dealing with a VM environment, possibly either Hyper-V > or VMWare ESxi

O/S Replication and Backup interaction with 4D (2004, v15)

2019-12-04 Thread Peter Jakobsson via 4D_Tech
Hi I have a legacy 4D server which appears to be getting trashed by the backup services in Windows 10 server. The platform contractor cannot turn off any of the backup stuff and I can’t upgrade to v17 for several weeks due to…..reasons, so need to find a way round this. (There are 2 virtual

Re: Trapping the 'return' key in list forms

2019-12-04 Thread Peter Jakobsson via 4D_Tech
Hi Jeremy In fact, with this approach there’s not even any need for the invisible buttons - just associate the [Return] key with the visible default button and the script can decide whether to execute the query or the default “Accept” action. Regards Peter > On 4 Dec 2019, at 09:40, Jeremy

Re: Trapping the 'return' key in list forms

2019-12-03 Thread Peter Jakobsson via 4D_Tech
> On 3 Dec 2019, at 21:47, Peter Bozek wrote: > But doing it again, I would go for something simpler. …and that “something simpler” turns out to be Jeremy Roussak’s tip of removing the “Focusable” property from the default button on the form. This is the key to everything, including: 1. The

Re: Trapping the 'return' key in list forms

2019-12-03 Thread Peter Jakobsson via 4D_Tech
sing a timer to auto search for the user? > > i.e. user types: "App" > and after a brief delay the searches auto executed using the user > entered information? I use 120 ticks. > > then they do not have to hit return at all > > > On Tue, 3 Dec 2019 00:26:24

Re: Doing a GOTO (widget) in the On Load event - stumped

2019-12-02 Thread Peter Jakobsson via 4D_Tech
> On 3 Dec 2019, at 00:58, Peter Jakobsson via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Thanks Canon …sorry, I mean “Cannon” of course ;) ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d

Re: Doing a GOTO (widget) in the On Load event - stumped

2019-12-02 Thread Peter Jakobsson via 4D_Tech
Works a dream. Thanks Canon. I had forgotten about SET TIMER. Suddenly these query forms are perfectly user-intuitive. Start off in filter. Execute query with Return, accept form with return also. Could not be better…thanks for all the tips on here ! Peter > On 3 Dec 2019, at 00:47, Cannon

Doing a GOTO (widget) in the On Load event - stumped

2019-12-02 Thread Peter Jakobsson via 4D_Tech
Hi ! Back again with a related issue to my previous theme of user interface behaviours. To move the cursor into a widget (in fact a derivative of Miyako’s “search” widget) I usually use a button with CTRL-F shortcut to call “EXECUTE IN SUBFORM($subform;”ACTION”) and then have the “ACTION”

Re: Trapping the 'return' key in list forms

2019-12-02 Thread Peter Jakobsson via 4D_Tech
ver you choose matters less, I think, > than applying it consistently throughout the database. > > On Fri, Nov 29, 2019 at 1:44 PM Peter Jakobsson via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> This is so that users can hit the return key to execute a query (like >>

Re: Trapping the 'return' key in list forms

2019-11-30 Thread Peter Jakobsson via 4D_Tech
Thanks for that input Chip. However I don’t see how this can work. How can the invisible button script know which field the cursor was in last ? (Or which object last had the focus prior to its own script being executed ?) Regards Peter > On 29 Nov 2019, at 22:13, Chip Scheide

Trapping the 'return' key in list forms

2019-11-29 Thread Peter Jakobsson via 4D_Tech
Hi Could anyone kindly bring me up to date me how we trap the [Return] key on a form these days with a default button when some other action is to be taken rather than accepting the form, depending on the last object that had the focus prior to executing the Default Button script ? In

Re: Windows network - cannot open structure of database {BaseName}

2019-11-11 Thread Peter Jakobsson via 4D_Tech
Hi Amazing how just typing the problem out catalyses your brain ! It wasn’t enough to allow just TCP protocol in the firewall. It had to allow UDP as well. (In fact I just changed it to “All Protocols”). Sorry for the noise :-) Peter

Windows network - cannot open structure of database {BaseName}

2019-11-11 Thread Peter Jakobsson via 4D_Tech
Hi I’m slightly stumped by what appears to be a networking/firewall/permissions issue but I’m not really sure. (Ports are open). A 4D Client connecting to 4D Server (v15) over a Windows LAN (Windows 10) connects but then dies while trying to download local resources. The error messages are:

Re: Capturing barcodes without a 'text' field

2019-10-16 Thread Peter Jakobsson via 4D_Tech
Hi Dougie This is in fact what we do at the moment. (In fact it’s so simple I just use the 4D “Request” function to capture the barcode). The only thing that would make a marked improvement while not complicating things too much would be for the capture to auto-enter itself after the scan

Re: Capturing barcodes without a 'text' field

2019-10-16 Thread Peter Jakobsson via 4D_Tech
Thanks Jeff. Very useful information. I also checked out your even more detailed responses on last year’s thread about this which were very informative. Regards Peter > On 16 Oct 2019, at 00:54, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > If you want to use a USB barcode

Re: 4D Server Hosting - The Future ?

2019-10-10 Thread Peter Jakobsson via 4D_Tech
> On 10 Oct 2019, at 16:58, Chip Scheide <4d_o...@pghrepository.org> wrote: > > that all is great until the hardware running the 4,382,619 VMs crashes According to “the guy”, that’s all taken care of. Even if the “metal” melts down, the VM’s just “seamlessly” migrate themselves onto other

Re: 4D Server Hosting - The Future ?

2019-10-10 Thread Peter Jakobsson via 4D_Tech
Thanks for your post Kirk. The guy I spoke to seemed to have it the other way around - the VM’s had 4-12 cores and the “metal” about 32. He also was of the categorical opinion that the only way to really keep applications “isolated” from each other (i.e. not bring everything else down when

4D Server Hosting - The Future ?

2019-10-10 Thread Peter Jakobsson via 4D_Tech
Hi ! I just finished a 1.5 hour phonecall with a support services manager at the technical services company who supply one of my customers with all their hardware/software/maintenance services. He basically brought me up to date on “how things work” today which is essentially that everything

Windows OS level backup trashing 4D

2019-09-23 Thread Peter Jakobsson via 4D_Tech
Hi I’m sure this is an age old issue but I thought I’d solicit some opinions on addressing it in case anyone cares to post their experiences. The OS level backup is saving the operating system (which nobody cares about) and trashing 4D (which everybody cares about). The site runs a mission

Re: More on 4D Objects and 'Inheritance'

2019-09-16 Thread Peter Jakobsson via 4D_Tech
rofl ! That was a very inspiring post. Ok I think thats pushed me over the edge. OO 4D here I come. > On 16 Sep 2019, at 22:23, Aparajita Fishman via 4D_Tech > <4d_tech@lists.4d.com> wrote: > >> Well my recommendation is not to use New formula ever. > > Translation: “I’m not sure I can use

Re: More on 4D Objects and 'Inheritance'

2019-09-16 Thread Peter Jakobsson via 4D_Tech
Fascinating stuff Kirk. Thanks for posting. Peter > On 16 Sep 2019, at 17:10, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Not everyone is a fan and there are some good arguments to be made ** 4D Internet

More on 4D Objects and 'Inheritance'

2019-09-16 Thread Peter Jakobsson via 4D_Tech
Hi Just expanding on that last thread, (“Why does this not work") there do appear to be some real object orientation aspects to the new 4D commands - at least from the point of view of what’s needed and useful in a high level environment like 4D. The key is the new “This” self-referencing

Re: Object property inheritance - why does this this not work ?

2019-09-15 Thread Peter Jakobsson via 4D_Tech
That was a very inspiring post. > On 15 Sep 2019, at 21:44, Aparajita Fishman via 4D_Tech > <4d_tech@lists.4d.com> wrote: > >> ORDA looks really interesting too but I haven't played with it yet, but I'm >> looking forward to experimenting with it soon. > > It’s more than interesting, it’s

Re: Object property inheritance - why does this this not work ?

2019-09-15 Thread Peter Jakobsson via 4D_Tech
> On 15 Sep 2019, at 14:32, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Don't try to fit a square peg into a round hole just yet Fair enough, Jeff. I won’t, and your advice is of course wise re. “the real thing is coming”. But it’s still interesting to explore the potential

Re: Object property inheritance - why does this this not work ?

2019-09-15 Thread Peter Jakobsson via 4D_Tech
Hi Narinder Thanks for posting your commentary. Very interesting. Regards Peter > On 15 Sep 2019, at 13:58, Narinder Chandi via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I think our coding style will need to undergo an evolution rather than > revolution

Re: Object property inheritance - why does this this not work ?

2019-09-15 Thread Peter Jakobsson via 4D_Tech
Thanks Narinder. Doesn’t this imply we need to change our entire style and approach to coding ? Language data structures, forms, the lot ? Have you found you needed to do this ? (At least in terms of new code and optimal approaches). Having attended the last couple of summits and various

Re: Object property inheritance - why does this this not work ?

2019-09-15 Thread Peter Jakobsson via 4D_Tech
Hi Narinder So it does. I created a brand new structure and it now works. I did that example in a legacy upgraded structure so maybe there’s some compatibility setting that I needed to change to fully support the new object syntax. Many thanks for taking the time to check it and respond !

Object property inheritance - why does this this not work ?

2019-09-15 Thread Peter Jakobsson via 4D_Tech
Hi Using the v17 dot notation I was unable to get one object to inherit another’s properties using the assignment operator. Also when I inspect $dog in the debugger after assigning the first property, it appears empty. Code is: C_OBJECT($animal;$dog;$cat) $dog:=New object $cat:=New object

Web area fail on accessing secure area

2019-06-01 Thread Peter Jakobsson via 4D_Tech
Hi I’m slightly poking around in the dark here looking for a handle. In a 4D Web Area, the a login “submit" button has no effect when submitting username and password to a secure area. The site concerned is the gov.uk (UK Government services). i.e. we start here:

Re: Miyako Excel Component

2019-05-24 Thread Peter Jakobsson via 4D_Tech
> On 24 May 2019, at 19:48, Arnaud de Montard via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > There are many xl things in Miyako's shop (I only know the freeXL one, it > reads .xls): >

Miyako Excel Component

2019-05-24 Thread Peter Jakobsson via 4D_Tech
Hi I have a one-off need to create 2 very small (about 9 rows each, 2 columns) spreadsheets from 4D in native Excel format. Is Miyako’s component still available anywhere ? The sources.4d.com site seems to have gone away. (Or maybe I’m just not accessing it correctly…is it FTP ?) Thanks

Re: Capturing workstation timezone from the OS

2019-05-06 Thread Peter Jakobsson via 4D_Tech
Hi John Many thanks. Nearly a decade old ! Should be well trodden. Peter > On 6 May 2019, at 18:03, John DeSoi via 4D_Tech <4d_tech@lists.4d.com> wrote: > > This gives the number of seconds offset from GMT. > > John DeSoi, Ph.D.

Capturing workstation timezone from the OS

2019-05-06 Thread Peter Jakobsson via 4D_Tech
Hi I’ve been looking into capturing the OS timezone (i.e. GMT +01 etc) from the 4D language but have drawn a blank. I thought there might be some fancy footwork with String(?00:00:00?;ISO GMT) or something trick like that possible but I’ve been unsuccessful. Has anyone done this without

Unexpected authentication window appears in web area

2019-04-25 Thread Peter Jakobsson via 4D_Tech
Hi I have a very simple web area embedded in a 4D form for logging into an authenticated domain. I’m observing different behaviours in Mac and Windows: Mac: works fine. You enter user and password, click the web page submit button and authentication is successful. Next web page appears

Re: Formatter that only shows decimals

2019-04-08 Thread Peter Jakobsson via 4D_Tech
> On 8 Apr 2019, at 00:19, Mark Katz via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Maybe (likely) I’m missing something but couldn’t you display the actual > value x 100 instead of the actual value? Hi Mark Yes, I could do that. I was just wondering if the formatter could do it because it

Formatter that only shows decimals

2019-04-06 Thread Peter Jakobsson via 4D_Tech
Hi Does anyone know how to do a formatter that only shows (currency) decimals but that hides the decimal point ? I have used ".00;-.00;00” which works ok except that the decimal point itself displays. I’d like to only display the numerics without the point if poss. Thanks in advance for any

Re: OAuth

2019-03-15 Thread Peter Jakobsson via 4D_Tech
> On 10 Mar 2019, at 09:51, Jeremy Roussak via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > The server I’m hoping to talk to is the Value Added Tax server at HMRC in > England (in a couple of months’ time, entering figures for VAT returns will > have to be done by software rather than

Re: 4D Developer Available

2019-02-26 Thread Peter Jakobsson via 4D_Tech
That is a stellar curriculum I must say. Good luck with your new phase ! Peter > On 26 Feb 2019, at 17:52, Tom Benedict via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I have recently left my long time employer and begun free-lance 4D > development work. > > I have 24+ years of experience

Re: Epoch time in milliseconds

2019-02-20 Thread Peter Jakobsson via 4D_Tech
Thanks Arnaud ! Very useful indeed. Bruno has been very productive in this area. > On 20 Feb 2019, at 22:19, Arnaud de Montard via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > > You may be interested by 2 methods from Bruno Legay about epoch in the code > sharing zone: >

Re: Epoch time in milliseconds

2019-02-20 Thread Peter Jakobsson via 4D_Tech
> On 20 Feb 2019, at 01:29, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > $P_timeString:=String(Current date(*);ISO date GMT;Current time(*)) > > does this not invoke 2 calls to the server in C/S mode? Good point Miyako. (I stopped worrying about optimising for performance

Re: Epoch time in milliseconds

2019-02-19 Thread Peter Jakobsson via 4D_Tech
untDAYS*86400)+$P_countSECONDS) $0:=Int($P_posixTIME)*1000 > On 19 Feb 2019, at 23:25, Peter Jakobsson via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > The problem is that if I convert Current Date and Current Time to > milliseconds there’s a precision error of up to a second and t

Epoch time in milliseconds

2019-02-19 Thread Peter Jakobsson via 4D_Tech
Hi Does anyone have an idea how to get the epoch time in milliseconds in native 4D ? The problem is that if I convert Current Date and Current Time to milliseconds there’s a precision error of up to a second and the API server’s I’m using think I’m out of sync. Is it another job for PHP ?

Re: HMAC SHA512 Signing - solved

2019-02-16 Thread Peter Jakobsson via 4D_Tech
The answer was hiding in plain sight !! $isOk:=PHP Execute("";"hash_hmac";$P_dataSignature;"sha512";$P_dataRequestRaw;$P_apiSecret) …and it works. > On 16 Feb 2019, at 20:35, Peter Jakobsson via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I’v

HMAC SHA512 Signing

2019-02-16 Thread Peter Jakobsson via 4D_Tech
Hi I’ve spent about half a day researching this so far so thought I’d give the NUG a try. Is anyone familiar with a way to do HMAC SHA512 signing in 4D ? v17 now supports SHA512 in the Generate Digest command but that doesn’t do signing. I also tried NTK’s "NTK HMAC Text” (with the “SHA512”

Caching URLs. Hashed or unhashed ?

2019-02-15 Thread Peter Jakobsson via 4D_Tech
Hi I am caching the responses from a commercial API services to save costs. (i.e. the code does a lookup on a 4D table on the exact URL of the API call to see if we already have that response in the cache). What is people’s opinion on best practice for storing and querying on URL’s ? Should

Re: Subject: Re: Amazon EDIFACT/X12 Gateway

2019-01-09 Thread Peter Jakobsson via 4D_Tech
Hello Jim I just saw this message. Thanks for replying - interesting case. Regards Peter > On 7 Jan 2019, at 16:45, Jim Medlen via 4D_Tech <4d_tech@lists.4d.com> wrote: > > We have an account with OpenText an EDI VAN (Value Added Network) > We use their software to Send and receive EDI

Amazon EDIFACT/X12 Gateway

2019-01-04 Thread Peter Jakobsson via 4D_Tech
Hi A very happy new year everybody. I have an ERP running at a customer site who is a big Amazon suppler (i.e. they sell products/services TO Amazon). Amazon want them to submit sales invoices via their EDIFACT (or X12) gateway. I’m a bit out of my depth here as I haven’t done any EDI stuff

Re: Backing up a VM - is it dangerous ?

2018-11-05 Thread Peter Jakobsson via 4D_Tech
Many thanks for the useful replies. I’ve contacted the IT contractor to try to negotiate a new backup strategy. Hopefully it will be less of a sweat than the China trade talks :-) Peter > On 5 Nov 2018, at 13:36, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Definitely not

Backing up a VM - is it dangerous ?

2018-11-05 Thread Peter Jakobsson via 4D_Tech
Hi One of my sites contracts out their server maintenance, procurement and general support to an IT contractor. The contractor is fairly adaptable and I have good professional relations with them, however I still have to work within certain “overall parameters”. One of these is that their

Re: Longing IDs or UUIDs as primary key?

2018-10-24 Thread Peter Jakobsson via 4D_Tech
> On 24 Oct 2018, at 16:52, Two Way Communications via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > The process seems quite cumbersome: to start, I need to remove the ‘primary > key’ flag from all the ID fields Rudy - Just to add to the many useful contributions made so far, I found a way to

Re: Defining and documenting Objects

2018-10-11 Thread Peter Jakobsson via 4D_Tech
> On 11 Oct 2018, at 12:02, Bernd Fröhlich via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > All true, but with globals you can have hard to find side effects. > E.g. i have a lot of buttons and other variables on a lot of forms use > "standard" global variables (bOK, bCancel, bSave, bPrint,

Re: Defining and documenting Objects

2018-10-11 Thread Peter Jakobsson via 4D_Tech
> On 11 Oct 2018, at 08:49, Bernd Fröhlich via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > there are no globals required for menus (I assume here that you are talking > about popup menus in the form). > Just give them an objectname, get a pointer in the "on load" phase with > Object Get

Re: Defining and documenting Objects

2018-10-10 Thread Peter Jakobsson via 4D_Tech
Hi This is a good point made by Paul... > On 5 Oct 2018, at 09:15, Paul Dennis via 4D_Tech <4d_tech@lists.4d.com> wrote: > > With tables and records and the structure it's relatively > straightforward to track through the code and work out what's going on. I > can see this being a real problem

Re: 4D Write (v15) Images Slanted

2018-09-12 Thread Peter Jakobsson via 4D_Tech
Hi It appears I’ve solved this - it needed to be a JPEG. But I presume this won’t print too well. > On 12 Sep 2018, at 22:05, Peter Jakobsson via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > appears slanted at

4D Write (v15) Images Slanted

2018-09-12 Thread Peter Jakobsson via 4D_Tech
Hi I looked back in the archive for an answer to this one and found some useful posts regarding DPI etc. However when I paste an image into 4D Write (legacy version), the image appears slanted at a 30 degree angle (roughly). Have tried forcing the image into both 300 dpi and 600 dpi in

Re: PDF generation on Windows - Latest Thinking

2018-09-12 Thread Peter Jakobsson via 4D_Tech
> On 12 Sep 2018, at 21:22, Tim Nevels via 4D_Tech <4d_tech@lists.4d.com> wrote: > > PDF Creator 1.7 works just fine on Windows 10. No problems. And it has many > more configuration options than the built in Window 10 PDF driver. And it > does not have a nuisance bug the Windows 10 driver has

Re: PDF generation on Windows - Latest Thinking

2018-09-12 Thread Peter Jakobsson via 4D_Tech
Many thanks for the replies. I’ll attempt to go with the native PDF engine. Regards Peter > On 12 Sep 2018, at 15:19, Chuck Miller via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I think it does run on windows 10 ** 4D

PDF generation on Windows - Latest Thinking

2018-09-12 Thread Peter Jakobsson via 4D_Tech
Hi For years I used PDF creator to generate PDFs from 4D on Windows 7 - mainly because you didn’t have to type in a document title for every single page in a print run and this could be done from code. My customer has now upgraded to Windows 10 and it’s using the default PDF writer as I didn’t

Re: Roy (Suzi) McGregor Paterson R.I.P

2018-09-10 Thread Peter Jakobsson via 4D_Tech
I am very sorry and taken aback to hear of this. I can only imagine that he was subject to illness as it seems premature. I always chatted to Roy at meetups going right back to the 1992 summit in the Meridien Montparnasse at the launch of 4D server when I remember him telling me he was

Re: Time Machine error -8003 when restoring 4D structures

2018-06-18 Thread Peter Jakobsson via 4D_Tech
Ah ! Good idea. That’s the kind of thing I’d think of for my clients but never myself ;) Thanks for the tip Charles. Regards Peter > On 18 Jun 2018, at 23:01, Chuck Miller via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > It does. How about using 4d backup and then backing that up.You could

Time Machine error -8003 when restoring 4D structures

2018-06-17 Thread Peter Jakobsson via 4D_Tech
Hi MacOS 13.13.5, High Sierra on a recent Macbook Pro. I’m getting this error when attempting to restore 4D structures from a Time Machine archive. It’s not just one - several of the archives have it but it only seems to apply to 4D structures. If I try to restore other things - like text

Re: 4D Summit 2018 Comments

2018-04-09 Thread Peter Jakobsson via 4D_Tech
> On 9 Apr 2018, at 21:25, Richard Wright via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I’ll be interested in learning how this differs from Views, not necessarily > 4D’s rather simplistic implementation, but something like Oracle’s, along > with their very powerful SQL implementation. Hi

Re: [SAD NEWS] legendary developer and 4D base-rock Ortwin Zillgen

2018-02-28 Thread Peter Jakobsson via 4D_Tech
Hi Alexander Thank you for passing on this news and I’d like to add my condolences and deeply felt sadness at the departure of such a creative and appreciated contributor to the 4D community. I had occasion to liaise with Ortwin on a couple of projects and his input was always spirited,

Re: Docs about "twinned" process and pre-emptive mode

2018-01-19 Thread Peter Jakobsson via 4D_Tech
Ok, I dug out an old laptop which had a lot of interesting discussion on this from 2011. What I’m wondering is if triggers can now run pre-emptively (if they are compliant code-ways: no IP variables etc). In 2011, David Dancy said that any regular 4D code whatsoever would force the method to

Re: Docs about "twinned" process and pre-emptive mode

2018-01-19 Thread Peter Jakobsson via 4D_Tech
> On 19 Jan 2018, at 04:10, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > are you familiar with the request log file? > > you will see a P (for preemptive) or C (for cooperative) indicated for each > network request. The log file seems to do this for everything *except* the

Re: Docs about "twinned" process and pre-emptive mode

2018-01-18 Thread Peter Jakobsson via 4D_Tech
Thanks Miyako. That’s useful. I basically was wanting to know if inline SQL used the “twinned” pre-emptive thread or not. Peter > On 19 Jan 2018, at 04:10, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > are you familiar with the request log file? > > you will see a P (for

Docs about "twinned" process and pre-emptive mode

2018-01-18 Thread Peter Jakobsson via 4D_Tech
Hi I’ve been raking through the online documentation trying to find where the querying modes pre-emptive / co-operative are documented but have been unsuccessful. What I’m specifically looking for is more background on what conditions SQL queries use the twinned pre-emptive process for

Re: Saving an object array to disk

2017-12-06 Thread Peter Jakobsson via 4D_Tech
> On 5 Dec 2017, at 20:45, Timothy Penner via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > The docs say: "WARNING: This command does not support array variables. Use > the new BLOB commands instead." Thanks Tim Didn’t see that. > > Why don't you just use SQL EXPORT SELECTION and SQL EXECUTE

Re: Saving an object array to disk

2017-12-05 Thread Peter Jakobsson via 4D_Tech
> On 5 Dec 2017, at 16:18, Peter Jakobsson via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > (I’m trying to migrate an entire table for processing selectively in another > structure. I packed each record into respective elements of an object array > then wrot eit to

Saving an object array to disk

2017-12-05 Thread Peter Jakobsson via 4D_Tech
Hi Has anyone used the SAVE VARIABLES command with an object array ? I am getting crashing when I try to read it back in with LOAD VARIABLES. The test data is tiny so it isn’t size that’s the problem. Just wondering if anyone’s tried it. (I’m trying to migrate an entire table for processing

Re: Tip: Exporting to a target folder in a package

2017-10-24 Thread Peter Jakobsson via 4D_Tech
> On 24 Oct 2017, at 12:39, David Adams via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Have you tried Select document? It lets you navigate inside of packages. > On 24 Oct 2017, at 12:48, Koen Van Hooreweghe via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > Select folder allows you to

Tip: Exporting to a target folder in a package

2017-10-24 Thread Peter Jakobsson via 4D_Tech
Hi I have XLIFF applications that generate stuff like custom constants and language resources. Unfortunately, if you use 4D’s desktop navigation commands like “Create Document(“”)” or Select Folder and the like, to allow the user (me !) to locate the target folder for the export, it doesn’t

Re: oh sweet

2017-10-06 Thread Peter Jakobsson via 4D_Tech
> On 6 Oct 2017, at 17:54, Nigel Greenlee via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > How long have i wanted this…. +1 Nigel ! ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive:

Re: [offish]Volume of mail

2017-10-06 Thread Peter Jakobsson via 4D_Tech
> On 5 Oct 2017, at 21:15, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > We have a lot of 4D developers working here, but I'm on the only who > participates actively in the list. Also, 4D has a lot fewer "issues" these > days than in the old days. I’m probably in this category

Re: Use of Objects vs Global Variables (Was 'Arrays vs Objects...)

2017-07-21 Thread Peter Jakobsson via 4D_Tech
On 21 Jul 2017, at 16:48, David Adams via 4D_Tech <4d_tech@lists.4d.com> wrote: > * No. You do not need classes. Modules do not require OOP, OO came out of > earlier work and embraced modules and extended them. I'm just talking about > module-level scope and data hiding, not OO Ok, you could be

Re: Use of Objects vs Global Variables (Was 'Arrays vs Objects...)

2017-07-21 Thread Peter Jakobsson via 4D_Tech
Well, I’m afraid I’ll have to take the pariah role here and politely disagree with you all :-)) - or at least present an alternative perspective in which “globals” play a very powerful and unique part. Lets think this all through for a moment. As is relevant to this topic, we can notionally

Re: Arrays vs Object for Key/Value pair lookups

2017-07-20 Thread Peter Jakobsson via 4D_Tech
On 20 Jul 2017, at 11:39, JPR via 4D_Tech <4d_tech@lists.4d.com> wrote: > In case of an object, the properties are 'indexed' by using an internal Hash > table, so the access to one particular Property doesn't need a sequential > parsing of the list of values, but an almost direct access. I

Re: Arrays vs Object for Key/Value pair lookups

2017-07-17 Thread Peter Jakobsson via 4D_Tech
On 17 Jul 2017, at 17:03, Herr Alexander Heintz via 4D_Tech <4d_tech@lists.4d.com> wrote: > so I queried for the language I needed and then > apply to selection([dict];ob set(<>Dict;[dict]WordKey;[dict]Word) Ah ! So you just ‘hoover up’ into your dictionary object. Like a hoover ? Peter

Arrays vs Object for Key/Value pair lookups

2017-07-17 Thread Peter Jakobsson via 4D_Tech
Hi I remember at last year’s summit, JPR was emphasising how objects were far more optimised than arrays for doing lookups over large numbers of key value pairs. e.g. we usually do this: $x:=find in array(myKEYS;”product_code_x”) if($x>0) $0:=myPRICES{$x} end if How do people prefer to do

  1   2   >