Re: How to not close all windows on restart - v16

2017-02-20 Thread Douglas von Roeder via 4D_Tech
I've uploaded some pix of a "workspace palette" that I use. It doesn't solve the issue that Kirk has reported but it is a handy creating open groups of methods. In the first pix , work is tracked at the issue level so it allows me to quickly

Re: Detecting if 4D is Frontmost App

2017-02-17 Thread Douglas von Roeder via 4D_Tech
Cannon If you're on the Mac, you might be able to get that info using Applescript. This is from the payback machine so I don't remember the details. Check the NUG archives for this "applescript". I needed to bring 4D to the front when I was working in an all Mac shop and I ended up doing it

Re: Detecting if 4D is Frontmost App

2017-02-17 Thread Douglas von Roeder via 4D_Tech
100% certain... > > Jeff > > -- > Jeffrey Kain > jeffrey.k...@gmail.com > > > On Feb 17, 2017, at 4:49 PM, Douglas von Roeder via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > > > > If you're on the Mac, you might be able to get that info using > Applescrip

Re: Detecting if 4D is Frontmost App

2017-02-17 Thread Douglas von Roeder via 4D_Tech
Cannon: Oh, *that* command! They hid it right there in the docs! :-) -- Douglas von Roeder 949-336-2902 On Fri, Feb 17, 2017 at 3:26 PM, Cannon Smith via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Thanks to everyone who replied. I just remembered that 4D has an On System > Event database

Re: Virtualization - Yea or Nay

2017-02-27 Thread Douglas von Roeder via 4D_Tech
Many thanks to everyone who replied. The consensus appears to be that 4D can work well as long as the resources (dollars and expertise) are expended to make it work. I'm *all* for that. Based on the feedback here, I think I've can provide my client with a sound basis to make a technological

Virtualization - Yea or Nay

2017-02-26 Thread Douglas von Roeder via 4D_Tech
My reason for posting this message is to solicit feedback on the pros and cons of moving an existing system to a virtual environment. The IT department at a client site is pushing a client to virtualize their 4D system and I've been asked to provide input. I have done a bit of research into the

Re: 4D Server/4D Client runs just fine in a good VM

2017-02-28 Thread Douglas von Roeder via 4D_Tech
Jeremy: I've been using Fusion or Parallels for about a decade. I'm using Parallels now and I'm allocating 4GB to Windows, 4 cores, and 1GB of video RAM (5k monitor). -- Douglas von Roeder 949-336-2902 On Tue, Feb 28, 2017 at 10:52 AM, Jeremy French via 4D_Tech < 4d_tech@lists.4d.com> wrote:

Re: v13 anyone printing 'raw' listboxes?

2017-03-24 Thread Douglas von Roeder via 4D_Tech
Chip: Check out the home page - http://4dtoday.com -- Douglas von Roeder 949-336-2902 On Fri, Mar 24, 2017 at 12:22 PM, Chip Scheide via 4D_Tech < 4d_tech@lists.4d.com> wrote: > I am trying and getting nothing > > any pointer appreciated > > Thanks > --- > Gas is for washing parts

Re: CALL FORM: Some notes on a command that's easy to misunderstand

2017-03-17 Thread Douglas von Roeder via 4D_Tech
Justin: Interesting approach - thank you for posting that. Lacking "callers" and C_Object, I've been using On outside call + ObjectTools + IP messaging based on the ITK message queuing system. I'm not sure if this is germane to Call form/worker but I include a "reply to ID" in the message that's

Re: CALL FORM: Some notes on a command that's easy to misunderstand

2017-03-17 Thread Douglas von Roeder via 4D_Tech
David: I'll read up on the web sockets - when I first saw that I misread it for "WebObjects". A cold chill ensued. C_Object is a great addition to the language. Agree that it doesn't do everything that OT does but that why we have wrapper routines. I've extended Cannon's OBJ_Module with

Re: CALL FORM: Some notes on a command that's easy to misunderstand

2017-03-17 Thread Douglas von Roeder via 4D_Tech
David: Just read the feature request thread for WebSockets and I'm pretty certain I voted for it (clicked 4 stars on the first message in the thread). WebSocket fits well into the concepts of Call worker/form in that it's providing developers with more granular connections and, hence more

Re: ALP scrollbars appear on another form

2017-03-20 Thread Douglas von Roeder via 4D_Tech
Doug: You're very welcome. -- Douglas von Roeder 949-336-2902 On Mon, Mar 20, 2017 at 12:54 PM, Doug Hall via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Will do. Thanks, Douglas! > > On Mon, Mar 20, 2017 at 1:52 PM, Douglas von Roeder via 4D_Tech < > 4d_tech@lists.4d.c

Re: Larry Sharpe

2017-03-15 Thread Douglas von Roeder via 4D_Tech
Lee: Sorry to hear about this. RIP, Larry. -- Douglas von Roeder 949-336-2902 On Wed, Mar 15, 2017 at 3:07 PM, Tom Dillon via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Goodnight Larry. Sweet dreams. > > -- >-- >Tom Dillon

Re: ALP scrollbars appear on another form

2017-03-20 Thread Douglas von Roeder via 4D_Tech
Doug: Older versions of ALP/4D (ALP8.X) required that you set the horizontal and vertical scroll bars to -3. With newer versions, call AL_SetAreaLongProperty($eList;ALP_Area_Visible;0) to hide or AL_SetAreaLongProperty($eList;ALP_Area_Visible;1) to show the area. Check the ALP docs for "ghost"

Re: delete or truncate

2017-04-04 Thread Douglas von Roeder via 4D_Tech
Steve: Very good point about a transaction. Reading Chuck's posting, I got the impression that this would be done on an "as needed" basis. To me, Truncate table is sort of the "Holy Hand Grenade", sort of like in the 4D Server betas when Array to selection would delete records. -- Douglas von

Re: delete or truncate

2017-04-04 Thread Douglas von Roeder via 4D_Tech
Chuck: I'd go with truncate. It's a command whose function is to clear all the tablespace allocated to records in a given table along with the associated indexes. Delete selection is used to delete one or more records, ensuring that indexes and relational integrity constraints are enforced for

Re: 4D Compiler

2017-04-06 Thread Douglas von Roeder via 4D_Tech
Nigel: A couple of thoughts on this… I couldn't find this documented but 4D's compiler does three "passes" through the source code (when you're not typing all of your variables). IIRC, the compiler displays what it's doing for each pass but newer versions of 4D + modern hardware are so fast that

Re: OffsetCursor / Highlight in Dialog in 4D v13 OS X 10.12

2017-04-06 Thread Douglas von Roeder via 4D_Tech
Jim: Working in a 13.5 (Windows) system, I've seen something similar in some fields - when the inserting point enters the field, the bottom few pixels may be truncated or it's offset from the left side of the field mask by one or two pixels. This issue made it, at times, hard to spot the flashing

Re: 4D Compiler

2017-04-06 Thread Douglas von Roeder via 4D_Tech
Tim: Great info - many thanks for the explanation. "I just checked wikipedia and it says the Mac SE/30 with 4MB or RAM and 80MB hard drive was $6,569! I don’t remember them being that expensive. Makes the machines today look dirt cheap!" The SE/30 was a great little machine. The PDS card had

Re: question about setting select tab in v15.4

2017-04-19 Thread Douglas von Roeder via 4D_Tech
Lee: SELECT LIST ITEMS BY POSITION(*;"PROPOSAL_Tab_L";1) -- Douglas von Roeder 949-336-2902 On Wed, Apr 19, 2017 at 4:03 PM, Lee Hinde via 4D_Tech <4d_tech@lists.4d.com > wrote: > Inherited Foundation database using automatic tab controls in an input > form. > > No array, setting the tab

Re: question about setting select tab in v15.4

2017-04-19 Thread Douglas von Roeder via 4D_Tech
Lee: HTH. -- Douglas von Roeder 949-336-2902 On Wed, Apr 19, 2017 at 5:03 PM, Lee Hinde via 4D_Tech <4d_tech@lists.4d.com > wrote: > Of course! > > :-) > > Thanks. > > > On Apr 19, 2017, at 4:22 PM, Douglas von Roeder via 4D_Tech < > 4d_tech@lists.4d.com

Re: Using METHOD SET CODE on from objects

2017-03-11 Thread Douglas von Roeder via 4D_Tech
Kirk: What you're describing doesn't sound like a "feature", that's for sure. Obvious question - are you sure that the object itself is closed? Also, any chance the structure is in read only? Dollars to doughnuts you've covered those bases but just in case… Another option would be to try this

Re: Using METHOD SET CODE on from objects

2017-03-11 Thread Douglas von Roeder via 4D_Tech
> > On Sat, Mar 11, 2017 at 6:45 PM, Douglas von Roeder via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > > > Kirk: > > > > What you're describing doesn't sound like a "feature", that's for sure. > > > > Obvious question - are you sure that the o

Re: Online Documentation with Right Click on command

2017-03-14 Thread Douglas von Roeder via 4D_Tech
Jody: This link will will take you to the docs for V16: http://doc.4d.com/4Dv16/index.en.html If you click on the link "4D Language Reference", you'll end up here: http://doc.4d.com/4Dv16/4D/16/4D-Language-Reference.100-3035671.en.html On the right side are the headings Properties, Index,

Re: 4D V12.5 OK with Windows 10

2017-04-07 Thread Douglas von Roeder via 4D_Tech
< 4d_tech@lists.4d.com> wrote: > I don't remember 4D fixing the "tiny text" thing in v12 -- I thought it > was something that ended up getting fixed in Windows. > > -- > Jeffrey Kain > jeffrey.k...@gmail.com > > > On Apr 7, 2017, at 4:08 PM, Douglas von Roeder

4D V12.5 OK with Windows 10

2017-04-05 Thread Douglas von Roeder via 4D_Tech
A client using V12.5 is starting to adopt Windows 10 and has asked about going to V12.6 since the newer version, apparently, resolves "the Windows 10 tiny print problem that 12.5 has." The Cert Matrix for 12.6 states that 12.6 is "not compatible" with 8.1 and does not list Win 10. Is 12.6 OK to

Re: 4D V12.5 OK with Windows 10

2017-04-08 Thread Douglas von Roeder via 4D_Tech
On Sat, Apr 8, 2017 at 3:20 AM, b nonymus via 4D_Tech <4d_tech@lists.4d.com> wrote: > I’m using this workaround since Windows 8: this solved the issue for me: > Topic: Printing on Windows 8.1 & 4Dv12 > > Marius Veenker > > > Op 7 apr. 2017, om 23:35 heeft Douglas von

Re: 4D V12.5 OK with Windows 10

2017-04-07 Thread Douglas von Roeder via 4D_Tech
4d.com> wrote: > Hi Doug, > > We ship and use v12.6 on Windows 10. One problem 12.6 has that a 4Dlink > file to the server won't remember name and password. > (This is something we use for automated testing, so we run those tests with > 12.5). > > > Jim > > On We

Re: 4D V12.5 OK with Windows 10

2017-04-07 Thread Douglas von Roeder via 4D_Tech
Tim: The tiny print problem is exactly the reason why the client wants to do the update. They've had people running it on Win10, unbeknownst to me, for about a year but, as you posit, those users aren't printing anything. According to one on the support staff, 12.6 resolves that issue and,

Re: 4D V12.5 OK with Windows 10

2017-04-07 Thread Douglas von Roeder via 4D_Tech
Tim: "4D v12.6 (final version) was released October 8th 2013. Windows 10 was initially released July 20th 2015." Thanks for that info. I checked out the cert matrix for 12.5 vs 12.6 and 12.6 is a no go with 8.1 but, as you point illustrate, Win 10 didn't exist when 12.6 shipped. Some users have

Re: Automated tasks on 4D Server

2017-04-17 Thread Douglas von Roeder via 4D_Tech
On Mon, Apr 17, 2017 at 11:44 AM, James Crate via 4D_Tech < 4d_tech@lists.4d.com> wrote: > It’s easy enough to just start a process that does what is necessary, but > to do it simply requires a different process for each kind of schedule > (i.e. every 5 minutes, once per day), and isn’t very

Re: Blob to Record

2017-08-02 Thread Douglas von Roeder via 4D_Tech
API Pack has Record to BLOB and BLOB to record. -- Douglas von Roeder 949-336-2902 On Wed, Aug 2, 2017 at 11:20 AM, Chip Scheide via 4D_Tech < 4d_tech@lists.4d.com> wrote: > is there simple way to move an entire (arbitrary) record to a blob? > > I was hoping for a simple command like: > Record

Converting Quick Reports from 4D 2004 to Modern Version

2017-08-01 Thread Douglas von Roeder via 4D_Tech
While converting an application from 2004, it appears that Quick Reports in 2004 are not compatible with 15.4. I've searched through a few sets of docs but can't find a where this is documented. I'd appreciate it if some good soul could confirm that/cite a reference for that. Assuming that they

Re: Anybody using the TimePicker widget - TimePicker SET STEP

2017-08-10 Thread Douglas von Roeder via 4D_Tech
"form local" = new (and much better) name for a dynamic variable? -- Douglas von Roeder 949-336-2902 On Thu, Aug 10, 2017 at 2:17 PM, Keisuke Miyako via 4D_Tech < 4d_tech@lists.4d.com> wrote: > it works on ON LOAD, but the widget's variable must be declared with > C_TIME, > or set to create a

Very Simple Way to Access Server with Two Copies of Remote from the Same Machine

2017-07-13 Thread Douglas von Roeder via 4D_Tech
kb.4D.com is a wealth of info about 4D and, as much as I try to learn and incorporate new tools and techniques, this one passed under my radar. I was reading some of Miyako's comments on the Forum a few months ago and he mentioned the ability to run two copies of 4D Remote on the same OS on the

Re: Wiki software: Confluence

2017-07-13 Thread Douglas von Roeder via 4D_Tech
"FogBugz is probably the one I like the most. " I've been using FB for about 10 years but for the bug tracking features not the wiki features. It's an invaluable means of tracking issues, tracking progress, marking changes in code, version management, and invoicing. The price is good up to the 5

Re: Very Simple Way to Access Server with Two Copies of Remote from the Same Machine

2017-07-13 Thread Douglas von Roeder via 4D_Tech
gt; I think you've been asleep at the wheel for a while!! That's dated 2011 > > and I'm sure I can remember doing it in v2004. > > > > > > Regards, > > > > Wayne > > > > > > [image: --] > > Wayne Stewart > > [image: http://]about.me/waynestewa

Re: Resetting The Explorer Window - Tip

2017-07-17 Thread Douglas von Roeder via 4D_Tech
Allan: Thank you for passing this along. It's very helpful. -- Douglas von Roeder 949-336-2902 On Sun, Jul 16, 2017 at 8:32 PM, Allan Udy via 4D_Tech <4d_tech@lists.4d.com > wrote: > Hi All, > > Here's a quick tip if you suddenly loose the buttons at the bottom of your > Explorer window, as I

Re: How do I find hardware and software requirements for 4D

2017-07-10 Thread Douglas von Roeder via 4D_Tech
f you don’t mind display other info to your user as well. > > > Mvh/Best regards > Ingvar Josefsson > > > On 10 jul 2017, at 20:05, Douglas von Roeder via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > > > > After more than a few minutes trying to the hardware and

Re: 4D Write Pro interface plug in or component?

2017-07-10 Thread Douglas von Roeder via 4D_Tech
David: That's my understanding, as well. Randy Engle kicked off a thread a few months ago where that was discussed and I'm pretty certain that was the net net. -- Douglas von Roeder 949-336-2902 On Mon, Jul 10, 2017 at 4:02 PM, David Adams via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Hey

Re: 4D Write Pro interface plug in or component?

2017-07-10 Thread Douglas von Roeder via 4D_Tech
John: "Pro looks to be a good upgrade, but I hate the fact that it comes without a typical word processor user interface built in. I just don’t have time to create the interface." I'm glad that tables are in this new version as well as the native ability to "keep (paragraphs) with next" but it's

How do I find hardware and software requirements for 4D

2017-07-10 Thread Douglas von Roeder via 4D_Tech
After more than a few minutes trying to the hardware and software requirements for 4D Server and 4D Remote, I surrender, you win…they're just too well hidden. Yes, I can dig through a certification matrix and get that info but I want to send a link to a customer so that they can review it. Could

Re: OBJ Module Update

2017-07-19 Thread Douglas von Roeder via 4D_Tech
Cannon: Heh, I just complained — *you* wrote the code! :-) -- Douglas von Roeder 949-336-2902 On Wed, Jul 19, 2017 at 3:12 PM, Cannon Smith via 4D_Tech < 4d_tech@lists.4d.com> wrote: > I had a suggestion from Douglas von Roeder to add a method that returns > the size of an array inside an

Re: v13 (+?) - Replace String [warning]

2017-06-29 Thread Douglas von Roeder via 4D_Tech
Chip: AFAIK, that's the marker that 4D added "way back when" when 4D started to support BLOB's. It's used to differentiate between a picture and a BLOB. -- Douglas von Roeder 949-336-2902 On Thu, Jun 29, 2017 at 1:33 PM, Chip Scheide via 4D_Tech < 4d_tech@lists.4d.com> wrote: > I have a

Re: Diff 4D Write Documents

2017-04-25 Thread Douglas von Roeder via 4D_Tech
-- Douglas von Roeder 949-336-2902 On Tue, Apr 25, 2017 at 3:20 PM, Kirk Brooks via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Doug, > On Tue, Apr 25, 2017 at 1:32 PM, Douglas von Roeder via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > > > In addition to the h

Re: Diff 4D Write Documents

2017-04-25 Thread Douglas von Roeder via 4D_Tech
Sybase connectivity > http://www.informed-solutions.com > > -------------------- > > > > On Apr 25, 2017, at 2:14 PM, Douglas von Roeder via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > > > > Chuck: > > > > That's where I was headed - compare before and after

Re: Diff 4D Write Documents

2017-04-25 Thread Douglas von Roeder via 4D_Tech
949-336-2902 On Tue, Apr 25, 2017 at 5:06 PM, Charles Miller via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Textwrangler and BBEdit have compare doc options as well > > Sent from my iPhone > > > On Apr 25, 2017, at 4:32 PM, Douglas von Roeder via 4D_Tech < > 4d_tech@lis

Re: Diff 4D Write Documents

2017-04-25 Thread Douglas von Roeder via 4D_Tech
David: Thank you for posting that. Did a fly by on the home page and, yes, muy bien. Downloading now. -- Douglas von Roeder 949-336-2902 On Tue, Apr 25, 2017 at 6:21 PM, David Adams via 4D_Tech < 4d_tech@lists.4d.com> wrote: > As a text editor on Windows, I like Notepad++, but I haven't

Re: Machine ID

2017-04-25 Thread Douglas von Roeder via 4D_Tech
There's Current machine but that may not be an "ID". http://doc.4d.com/4Dv16/4D/16/Current-machine.301-3035973.en.html -- Douglas von Roeder 949-336-2902 On Tue, Apr 25, 2017 at 8:23 PM, Sujit Shah via 4D_Tech <

Re: Machine ID

2017-04-25 Thread Douglas von Roeder via 4D_Tech
"Heh, I'm trying' " :-) Agree completely about Miyako. Truly an unsung hero. -- Douglas von Roeder 949-336-2902 On Tue, Apr 25, 2017 at 8:54 PM, Sujit Shah via 4D_Tech < 4d_tech@lists.4d.com> wrote: > On Wed, Apr 26, 2017 at 1:46 PM, Douglas von Roeder via 4D_Tech <

Re: Diff 4D Write Documents

2017-04-26 Thread Douglas von Roeder via 4D_Tech
uments. > As Chuck pointed, you could compare plain text. > If written in 4D, you could adjust your features ; not too difficult (I > have written one for comparing methods). > > Bernard Escaich > > > > Le 25 avr. 2017 à 19:17, Douglas von Roeder via 4D_Tech <

Re: Experience with FTSY Sync Code//Speed up Sync Code

2017-04-26 Thread Douglas von Roeder via 4D_Tech
ote: > On Apr 26, 2017, at 5:12 PM, Douglas von Roeder via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > > > There are many, repetitive method calls. For example, each time the code > > converts a byte range to a longint, it calls a function that returns the > >

Re: Experience with FTSY Sync Code//Speed up Sync Code

2017-04-26 Thread Douglas von Roeder via 4D_Tech
On Tue, Apr 25, 2017 at 10:12 AM, Tim Nevels via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Here’s an idea. I’m assuming all the record processing is done in a single > process. How much work would it be to modify the code so that it spawns > multiple processes that can run at the same time? I

Re: Experience with FTSY Sync Code//Speed up Sync Code

2017-04-26 Thread Douglas von Roeder via 4D_Tech
On Tue, Apr 25, 2017 at 6:36 AM, James Crate via 4D_Tech < 4d_tech@lists.4d.com> wrote: > If you can easily modify the code, you could try commenting the SAVE > RECORD command(s), and replace any queries for an existing record with > REDUCE SELECTION($tablePtr->;0). That should be quick and easy

Re: Diff 4D Write Documents

2017-04-26 Thread Douglas von Roeder via 4D_Tech
with those changes should be a manual process. -- Douglas von Roeder 949-336-2902 On Tue, Apr 25, 2017 at 11:28 PM, Kirk Brooks via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Doug, > > On Tue, Apr 25, 2017 at 3:50 PM, Douglas von Roeder via 4D_Tech < > 4d_tec

Re: Experience with FTSY Sync Code//Speed up Sync Code

2017-04-27 Thread Douglas von Roeder via 4D_Tech
On Wed, Apr 26, 2017 at 10:37 PM, David Adams via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Gotcha. I've got my main code base in V13 still and like it fine. > > I still feel behind on this thread...what turned out to be the source of > the slowdown? Packing? Unpacking? Transmission? Some

Re: Diff 4D Write Documents

2017-04-26 Thread Douglas von Roeder via 4D_Tech
verse from ours. At that point it > makes sense to pay someone ​to go over the contract and synch the database > to it. > > Let me know what your final solution to this is. It's an interesting > problem. > > On Wed, Apr 26, 2017 at 1:54 PM, Douglas von Roeder via 4D_Tech < > 4d_tech@

Re: Experience with FTSY Sync Code//Speed up Sync Code

2017-04-26 Thread Douglas von Roeder via 4D_Tech
On Wed, Apr 26, 2017 at 3:49 PM, David Adams via 4D_Tech < 4d_tech@lists.4d.com> wrote: > I just went back to the top of this thread and scanned down...and I think > that I'm not understanding a key detail. Douglas, you're saying that the > packed records have 'meta-data', but it sounds like that

Re: Object visualize / browse

2017-04-21 Thread Douglas von Roeder via 4D_Tech
David: No magic. Just the content of the string/Obect in a variable on the form that you can scroll. It's quite "straightforward" in that it displays the same data from the Object but doesn't have the UI controls of the debugger. That would be *quite* nice. The work I've done to date with

Re: Object visualize / browse

2017-04-21 Thread Douglas von Roeder via 4D_Tech
David: "component" - yup. if I price it right, I'll corner the entire market. Agree about the hList idea. No question that once you get past a few dozen rows, the quick and dirty scrolling variable approach *would* get old. -- Douglas von Roeder 949-336-2902 On Fri, Apr 21, 2017 at 6:12 PM,

Re: Object visualize / browse

2017-04-21 Thread Douglas von Roeder via 4D_Tech
Justin: If you're in V16.something, you can create a dynamic variable of type Object. If

Re: Diff 4D Write Documents

2017-04-25 Thread Douglas von Roeder via 4D_Tech
com> wrote: > > > > On Mon, Apr 24, 2017 at 5:20 PM, Douglas von Roeder via 4D_Tech < > > 4d_tech@lists.4d.com> wrote: > > > >> I've been asked to update the code in an Audit Trail system so it will > work > >> with 4D Write documents. Rather th

Re: Experience with FTSY Sync Code//Speed up Sync Code

2017-04-25 Thread Douglas von Roeder via 4D_Tech
o a blob. > Send 1 record per web service call. > Seems fast enough for our purposes. 5-10+ records per second, depending > upon record size and network. > Just gotta make sure the client "syncs" often. > > Randy Engle > XC2 Software LLC > > -----Original

Re: Experience with FTSY Sync Code//Speed up Sync Code

2017-04-25 Thread Douglas von Roeder via 4D_Tech
On Tue, Apr 25, 2017 at 10:20 AM, Randy Engle via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Synching is a wonderful thing. > > Most users think it's a magic bullet. ;-) > It is very slick but things do go off the rails when the same document is modified on the LAN while it's being modified on

Re: Diff 4D Write Documents

2017-04-25 Thread Douglas von Roeder via 4D_Tech
9-336-2902 On Tue, Apr 25, 2017 at 10:39 AM, Kirk Brooks via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Doug, > Is the document stored in a record or just loose in a folder? > > On Mon, Apr 24, 2017 at 2:20 PM, Douglas von Roeder via 4D_Tech < > 4d_tech@lists.4d.com> wrote: >

Re: Diff 4D Write Documents

2017-04-25 Thread Douglas von Roeder via 4D_Tech
e, Apr 25, 2017 at 7:57 AM, Charles Miller via 4D_Tech < 4d_tech@lists.4d.com> wrote: > On Mon, Apr 24, 2017 at 5:20 PM, Douglas von Roeder via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > > > I've been asked to update the code in an Audit Trail system so it will > wo

Re: Experience with FTSY Sync Code//Speed up Sync Code

2017-04-25 Thread Douglas von Roeder via 4D_Tech
Tim: There were delays in the code - for whatever reason, the original programer (not Brad!) had delays of up to 15 seconds in some of processes. I thought of kicking this out to multiple processes but that's involved. The data has to follow a strict FIFO sequence so I'd have to examine the

Re: Diff 4D Write Documents

2017-04-25 Thread Douglas von Roeder via 4D_Tech
nce it's in a record you can test for the modified record/ > changed hash. > > On Tue, Apr 25, 2017 at 10:49 AM, Douglas von Roeder via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > > > Kirk: > > > > Each end user modifiable document is stored in a record.

Re: [OFF] Hardware advice - which new MacOS computer

2017-04-27 Thread Douglas von Roeder via 4D_Tech
Jody: Looks like someone else really likes that Dell laptop - https://tinyurl.com/mlk8csg -- Douglas von Roeder 949-336-2902 On Sat, Apr 15, 2017 at 12:11 PM, G-Mail via 4D_Tech <4d_tech@lists.4d.com> wrote: > First thanks to those that responded with their recommendations (Jeff, > Kirk,

Re: Experience with FTSY Sync Code//Speed up Sync Code

2017-04-24 Thread Douglas von Roeder via 4D_Tech
on). The sync records are in JSON (v13 so I > > used NTK later versions use C_OBJECT commands) for the "small" fields and > > pack big fields into a Blob. > > > > I can send code if you're interested. > > > > > > > > Regards, >

Re: Experience with FTSY Sync Code//Speed up Sync Code

2017-04-24 Thread Douglas von Roeder via 4D_Tech
David: The transmission time is very manageable — these folks send in data from very remote locations and the payload always arrives at the server. The BLOB's are sent via web services and, IIRC, the BLOB's are pretty good sized, some being over 100k. The deal breaker is that the code is only

Re: Experience with FTSY Sync Code//Speed up Sync Code

2017-04-24 Thread Douglas von Roeder via 4D_Tech
On Mon, Apr 24, 2017 at 8:30 PM, Wayne Stewart via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Mine performs similarly slowly (5-6 records per second) but it sends only > one record per web service call. > > A smarter and less lazy person than me would bunch a few records into the > one call, use

Re: Can 4D Objects create memory leaks?

2017-07-28 Thread Douglas von Roeder via 4D_Tech
Tony: It's a variable that respects 4D scoping rules so that should not happen. That's one of the features of C_Object vs ObjectTools — also, you can see what's in the Object vs having to use a separate editor window. -- Douglas von Roeder 949-336-2902 On Fri, Jul 28, 2017 at 11:53 AM, Tony

Re: Converting Quick Reports from 4D 2004 to Modern Version

2017-08-02 Thread Douglas von Roeder via 4D_Tech
Tom: Thank you for posting this info! I'll run up a copy of V11 and convert them. -- Douglas von Roeder 949-336-2902 On Wed, Aug 2, 2017 at 8:11 AM, Tom DeMeo via 4D_Tech <4d_tech@lists.4d.com> wrote: > Hi Doug, > > > I had a conversion with this problem going from v11 to v15. There were

Re: FLUSH BUFFERS in v16

2017-05-03 Thread Douglas von Roeder via 4D_Tech
Jörg: IIRC, 4D announced at the last Summit that the command was no longer needed because of the new cache management code. -- Douglas von Roeder 949-336-2902 <(949)%20336-2902> On Tue, May 2, 2017 at 11:05 PM, Jörg Knebel via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Hi All, > > Is there a

Re: FLUSH BUFFERS in v16

2017-05-03 Thread Douglas von Roeder via 4D_Tech
Jörg: Sorry for my mistake. I thought it had been retired along with the "priority sliders" Thanks for the correction, Caroline. On Tue, May 2, 2017 at 11:29 PM Jörg Knebel via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Thanks Douglas, > > > On 3 May 2017, at 16:22

Re: Disable close button on Splash screen windows v12

2017-05-11 Thread Douglas von Roeder via 4D_Tech
John: Just snarfed this from a legacy application and watched the code execute. $Error_Code:=gui_SetWndRect ($Window_Handle;0;0;<>WND_vWindow_Width;<>WND_vWindow_Height) $Error_Code:=gui_SetWindowLong ($Window_Handle;WS_THICKFRAME | WS_MAXIMIZEBOX;WIN_DISABLE;WIN_STYLE)

Re: v13 - how to create a 'folder' in Explorer

2017-05-10 Thread Douglas von Roeder via 4D_Tech
Chip: Click the "Home" icon from the list of icons in the Explorer. The "+" button will display a triangle, indicating, in this case, that a hierarchical menu is available. If you're going to set up folders for "objects" in your application, you're well served by creating multiple levels of

Re: 15.3HF1

2017-05-17 Thread Douglas von Roeder via 4D_Tech
; 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 th

Re: Schemes for record level access control

2017-05-15 Thread Douglas von Roeder via 4D_Tech
On Mon, May 15, 2017 at 8:01 AM, Kirk Brooks via 4D_Tech < 4d_tech@lists.4d.com> wrote: > David, > Thanks for throwing this in. It really does make more sense to use a > longint even if it is (currently) only a binary choice. > Kirk: If you're using a number to represent a hierarchy, the surest

Re: Disable close button on Splash screen windows v12

2017-05-12 Thread Douglas von Roeder via 4D_Tech
John: The code shown above is from V12.5 and an old version of Win32. Per the docs for Win32 8.1.2, the three commands listed above have been deprecated. The new versions of the command use the same command name with an "Ex" appended. -- Douglas von Roeder 949-336-2902 On Thu, May 11, 2017 at

Re: Reset Debugger Window in V13

2017-06-12 Thread Douglas von Roeder via 4D_Tech
Excellent - thank you! Works like a charm. On Mon, Jun 12, 2017 at 12:44 PM, Stephen J. Orth via 4D_Tech < 4d_tech@lists.4d.com> wrote: > $path:=Get 4D folder+"4D Preferences v13.4DPreferences" > > If (Test path name($path)=Is a document) > > $dom:=DOM Parse XML source($path) > > ARRAY

Reset Debugger Window in V13

2017-06-12 Thread Douglas von Roeder via 4D_Tech
I'm working on site and the window settings in the debugger have changed and I'm not able to use the debugger. In V14 and 15, the Window Bounds that file is located in its own folder in Roaming/4D Server/Window Bounds VXX. V13 doesn't use a Window Bounds folder so I deleted this file, to no

Re: Saving open windows in Design environment feature

2017-06-22 Thread Douglas von Roeder via 4D_Tech
I use a "workspace palette" where a bug tracking case number is the One "record" and the method windows that are open are the Many "records". A pix of an earlier version is at this link . The code to open windows originally

Re: v13 (+?) - method editor - method properties

2017-06-23 Thread Douglas von Roeder via 4D_Tech
Chip: Hah - you fell into the trap (along with the rest of us!). Put a string in the "Matching method name" field and then assign the attributes. That UI is *not* 4D's finest… -- Douglas von Roeder 949-336-2902 On Fri, Jun 23, 2017 at 11:34 AM, Chip Scheide via 4D_Tech < 4d_tech@lists.4d.com>

Re: Saving open windows in Design environment feature

2017-06-25 Thread Douglas von Roeder via 4D_Tech
On Sun, Jun 25, 2017 at 6:32 AM, Jeremy French via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Not sure what you mean by “open up the forms themselves”. I suspect that's a reference to not being able to open forms in the same way that you can use the Method open path. -- Douglas von Roeder

Re: voting for feature requests on the forum

2017-06-20 Thread Douglas von Roeder via 4D_Tech
Chuck: No question - it's *not* intuitive. Just click on the number of stars that you want to give it. -- Douglas von Roeder 949-336-2902 On Tue, Jun 20, 2017 at 8:56 AM, Charles Miller via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Hi all, there are a few feature requests I want to vote for

Re: voting for feature requests on the forum

2017-06-20 Thread Douglas von Roeder via 4D_Tech
configuration is a bit different. -- Douglas von Roeder 949-336-2902 On Tue, Jun 20, 2017 at 9:02 AM, Charles Miller via 4D_Tech < 4d_tech@lists.4d.com> wrote: > On Tue, Jun 20, 2017 at 11:59 AM, Douglas von Roeder via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > > >

Re: Cache Settings

2017-06-20 Thread Douglas von Roeder via 4D_Tech
to > right. All of the arrays are sized to that number. > > And, the issue is intermittent. > > > On Jun 20, 2017, at 10:24 AM, Douglas von Roeder via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > > > > Bob: > > > > I hit an error in a V13 system a few years ago

Re: Cache Settings

2017-06-20 Thread Douglas von Roeder via 4D_Tech
Bob: I hit an error in a V13 system a few years ago where I was getting "the array cannot be dimensioned". When I traced through the code, there was plenty of memory available both in the stack and for the application. The array was tiny - 12 elements ±. Here's the errant code and the "fix"

Re: Cache Settings

2017-06-20 Thread Douglas von Roeder via 4D_Tech
ever via 4D_Tech < > > 4d_tech@lists.4d.com> wrote: > > > >> The arrays are always the same size. > >> > >> There is a variable, MyTop, which holds the number of cells from left to > >> right. All of the arrays are sized to that number. > >> &

Re: Favorite tricks and keystrokes: Please take one and leave on

2017-05-26 Thread Douglas von Roeder via 4D_Tech
A recent discovery for me was a quick way to open the explorer. Put the insertion point in the method editor on an empty line and press Ctrl-k. -- Douglas von Roeder 949-336-2902 On Fri, May 26, 2017 at 6:06 PM, Chip Scheide via 4D_Tech < 4d_tech@lists.4d.com> wrote: > @ > > [t@1]f@1:=seq@n@

Re: Favorite tricks and keystrokes: Please take one and leave on

2017-05-27 Thread Douglas von Roeder via 4D_Tech
Cmd-k works for me on 10.11.6 + 15.4 but not on 16R2. With 16R2 Cmd-k "show definition" (open the method, open the docs for the command, etc.) if an item is selected or it the insertion point is in the "object" but it doesn't open the Explorer on an empty line. If Cmd-k isn't working, the

Re: Favorite tricks and keystrokes: Please take one and leave on

2017-05-27 Thread Douglas von Roeder via 4D_Tech
Steve: R2 works with the default shortcuts keys so 4D might have just stopped supporting the shortcut that I stumbled across. I *do* like how it works - if something's selected, Ctrl-k will go to its definition but if nothing's selected, Ctrl-k opens the Explorer. -- Douglas von Roeder

V15.4 & Shy Server Syndrome?

2017-05-18 Thread Douglas von Roeder via 4D_Tech
Just rolled out an application in version 15.4 (Windows) and I'm seeing what I'll refer to as the "shy server syndrome". V15.3 was installed but I installed 15.4 to get past an issue resolved in 15.3. When I launch the source code, the compiled application, or the built server application, the

Re: Primary key contains duplicate values

2017-05-19 Thread Douglas von Roeder via 4D_Tech
I'm hitting the same issue that Gary ran into though I'm trying to convert a 2004 data file to run agains the V15.4 structure file. I added PK's using the code from Bob Miller's Summit presentation (many thanks for a superb presentation Bob!) so I'm comfortable that the PK's are done right. The

15.3HF1

2017-05-16 Thread Douglas von Roeder via 4D_Tech
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? -- Douglas von Roeder 949-336-2902

Re: Get table fragmentation

2017-05-30 Thread Douglas von Roeder via 4D_Tech
gyfarmsolutions.com> > > > > > On May 30, 2017, at 10:55 AM, Douglas von Roeder via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > > > > The table fragmentation level is a lot like a temperature - it's one > number > > that indicates something ("

Re: Get table fragmentation

2017-05-30 Thread Douglas von Roeder via 4D_Tech
Cannon: The table fragmentation level is a lot like a temperature - it's one number that indicates something ("it's cold") but other factors that a lead us to decide "it's too cold to go outside because it's too humid/windy/dry/calm/etc." In addition to fragmentation % look at the number of

Re: Favorite tricks and keystrokes: Please take one and leave one

2017-05-30 Thread Douglas von Roeder via 4D_Tech
Chip: I use a "workspace" palette for window management. Each "workspace" is titled using the ticket number + title for the ticket in my bug tracking system (I use FogBugz). After creating a workspace, Per the pix here , I use

  1   2   3   >