Re: revelation! - Choose

2017-07-10 Thread Chip Scheide via 4D_Tech
On Mon, 10 Jul 2017 09:03:21 +, Keisuke Miyako via 4D_Tech wrote: > > unlike Case of~End case, Choose evaluates all expressions. How Sad... This is Sooo much nicer to read/look at: $Specified_Fields:=Choose(Count parameters>=2;$2;<>ptr_Nil) $Errors:=Choose(Count parameters>=3;$3;<>ptr_Nil) $S

Interesting(?) Tales of Coding Was : Request for tech note

2017-07-10 Thread Chip Scheide via 4D_Tech
I picked up a database written in FoxPro (for Mac). This code was running on a Motorola G3 box. In it the previous programmer needed to do some combinatorial matrix work. In Fox Pro, without having ever seen 4D's set functionality, he basically wrote 4D sets, as string/text operations!!! Combin

Re: Interesting(?) Tales of Coding Was : Request for tech note

2017-07-10 Thread Chip Scheide via 4D_Tech
love it $Which_Was_It:=Choose(Pair=Pear;"Myspelling/typing";"Damned Auto Correct") :) Chip On Mon, 10 Jul 2017 11:51:33 -0400, Roger Reed – Illus House wrote: > Delicious… and beautiful work. Including, that the phrase “ > pear-shaped” itself went pear-shaped and became “pair-shaped”. --

Re: Interesting(?) Tales of Coding Was : Request for tech note

2017-07-11 Thread Chip Scheide via 4D_Tech
https://i.redd.it/fjcv9evg6u8z.png now THAT is hard work. I wonder if it was complete... Chip --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ** 4D Internet Users Group (4D iNUG) FAQ:

Re: Quick report strange behavior

2017-07-11 Thread Chip Scheide via 4D_Tech
No I do not. I have seen posts regarding font size issues and windows 7?, 8?, 10? Since I do not use 4D on these systems I do not pay a lot of attention. search the archives on the 4D KB, or gmane, or Nabble sorry, best I can offer Chip On Tue, 11 Jul 2017 17:50:45 +0200, stardata.info via 4D_

Re: Quick report strange behavior

2017-07-11 Thread Chip Scheide via 4D_Tech
Yes, Ferdinando that is the issue - everything is small. search the archives, others have reported (and I think) resolved the issue. On Tue, 11 Jul 2017 19:29:15 +0200, stardata.info wrote: > Hi, > > Quick report when work on windows 7 work fine, when run on windows 8 > give this problems. >

Re: Object field storage: Questions and alternatives

2017-07-11 Thread Chip Scheide via 4D_Tech
not really following this thread but... if compacted-ness is primary. JSON, TSV, whatever text format save to disk zip (using 7zip or whatever) via LEP document to blob access to the data is not easy, you may need to create a searchable set of keywords (or something) but that would give most co

v13+ - How to do a 'Find in array' with a picture array?

2017-07-12 Thread Chip Scheide via 4D_Tech
I have a picture array which has icons I want to use it as a key to the contents of other (parallel) arrays. basically if icon{1} = pic1 - do something if icon{1} = pic2 - do something else etc . . . any ideas? code? Thanks Chip --- Gas is for washing parts Alcohol is for drinkin'

RE: v13+ - How to do a 'Find in array' with a picture array?

2017-07-14 Thread Chip Scheide via 4D_Tech
this will work, as the icon is the picture. Thanks On Thu, 13 Jul 2017 20:26:51 +, Timothy Penner via 4D_Tech wrote: > Another approach instead of comparing MD5 hashes, could be to compare > the pictures directly using the EQUAL PICTURES command (created in > v13): > http://livedoc.4d.com/4

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

2017-07-14 Thread Chip Scheide via 4D_Tech
on a Mac, assume similar for Windows. Create as many copies of the application as needed, open and 'point' to server. My dock has 7 4D icons in it. (3 v13, 2 v12, 2 v11) On Fri, 14 Jul 2017 09:13:35 +1000, Wayne Stewart via 4D_Tech wrote: > Doug, > > I think you've been asleep at the wheel fo

Re: v13+ - How to do a 'Find in array' with a picture array?

2017-07-14 Thread Chip Scheide via 4D_Tech
Thanks for the pointers to Hashing functions! Im putting together a file re-namer utility. drag n drop file from file system to 4D window, allow the user to do various renaming functions with the files/folders. i.e. add/change/remove an extension, rename, make visible/invisible, add/remove cha

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

2017-07-14 Thread Chip Scheide via 4D_Tech
ocumentation/Darwin/Reference/ManPages/man1/open.1.html > > but you do need to create a copy and give it a ClientLocal folder > if you need to connect multiple client to the same server. > >> 2017/07/14 22:46、Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> の >> メール: >

Re: Facial Detection/recognition

2017-07-14 Thread Chip Scheide via 4D_Tech
IFTFU: It thinks I am Bill Clinton (at least my eyes are like him)...Perfect excuse if Monica Lewinsky stood in front of me. Hi Monica, it's Ball Clinton :) On Fri, 14 Jul 2017 17:35:54 +0100, Balinder Walia via 4D_Tech wrote: > It thinks I am Bill Clinton (at least my eyes are like him)...Perf

Re: Set_Exists() function: Simple version

2017-07-17 Thread Chip Scheide via 4D_Tech
David, I wrote a complete collection of set operation routines here : https://www.dropbox.com/s/075k0ap7afervs8/Sets_Component_v1.0.zip?dl=0 Distributed as shareware $15 ($35 for source & a suite testing routines), it is a compiled/built component created in v13. If you like it you are free to

Re: Set_Exists() function: Simple version

2017-07-17 Thread Chip Scheide via 4D_Tech
this is basically what I did, but used arrays rather then ab object. shameless plug : https://www.dropbox.com/s/075k0ap7afervs8/Sets_Component_v1.0.zip?dl=0 Distributed as shareware $15 ($35 for source & a suite testing routines), it is a compiled/built component created in v13. If you like it

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

2017-07-18 Thread Chip Scheide via 4D_Tech
Long ago - and I am pretty sure the code has been lost to time - in v2.2.3 (I think) I wrote code to do binary searching on a selection, as at that time Search Selection (the old command name) was sequential, but sorting the selection was indexed. Even with the overhead of managing the pointers,

Choose - I love it :)

2017-07-18 Thread Chip Scheide via 4D_Tech
OBJECT SET TITLE(*;"obj_Extension_Title";Choose(rb_Replace=1;"New Extension";"Extension")) GOTO OBJECT(*;Choose(rb_Replace=1;"obj_x_Replacment";"obj_x_Extension")) :) --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ***

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

2017-07-21 Thread Chip Scheide via 4D_Tech
On Fri, 21 Jul 2017 23:01:56 +1000, David Adams via 4D_Tech wrote: > let's take a moment to > remember that speed only matters when things are slow. true. BUT... if you have 3 ways to do something 1 - this works, but takes X time 2 - this works too, take a bit more coding, but takes X/2 time 3 - t

[off] Age bracket of this group (USA) :)

2017-07-21 Thread Chip Scheide via 4D_Tech
To all, Since the age bracket of this group falls into the correct range... Those of you in the US might want to know, and check your local listings Robert Fripp, and King Crismon are touring! (and apparently have been touring for most of this year. Band line up: Robert Fripp (well... everything

Re: [off] Age bracket of this group (USA) :)

2017-07-21 Thread Chip Scheide via 4D_Tech
I do know that song and album :) love it! Chip On Sat, 22 Jul 2017 01:51:51 +1000, David Adams via 4D_Tech wrote: >> Robert Fripp, and King Crimson are touring! > > Chip, > > Dang, that takes me back. Amazing guitar player in concert..but I haven't > seen him in any lineup since the 1980's. Ton

Re: [off] Age bracket of this group (USA) :)

2017-07-21 Thread Chip Scheide via 4D_Tech
btw - here : https://www.youtube.com/watch?v=efnAzvDw_nw here come the warm jets - full album :) On Sat, 22 Jul 2017 01:51:51 +1000, David Adams via 4D_Tech wrote: >> Robert Fripp, and King Crimson are touring! > > Chip, > > Dang, that takes me back. Amazing guitar player in concert..but I hav

Re: [off] Age bracket of this group (USA) :)

2017-07-21 Thread Chip Scheide via 4D_Tech
tickets went on (pre) sale here this morning at 9am for Nov 20th show I bought at about 10:30 - mostly sold out already probably sold out by the time the public offering is available. On Fri, 21 Jul 2017 09:59:14 -0400, Chip Scheide via 4D_Tech wrote: > To all, > Since the age bracket o

Re: [off] Age bracket of this group (USA) :)

2017-07-21 Thread Chip Scheide via 4D_Tech
BTW - one of my favorite eno albums : My life in the bush of ghosts https://www.youtube.com/watch?v=JOXbk1GYkxE particularly : The Jezebel spirit (safe for work) https://www.youtube.com/watch?v=Ifriiv3DIw8 (Video NSFW official video) https://www.youtube.com/watch?v=FWQdKkk4Xr0 On Sat, 22 Jul 201

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

2017-07-22 Thread Chip Scheide via 4D_Tech
there is an XKCD for *everything* :) > Someone has thought of that, Chip: https://xkcd.com/1205/ > <https://xkcd.com/1205/> > > Jeremy > > > Jeremy Roussak > j...@mac.com > > > >> On 21 Jul 2017, at 14:47, Chip Scheide via 4D_Tech >>

v13 - Host methods, and components

2017-07-24 Thread Chip Scheide via 4D_Tech
Can I, form a component, use "Get Method Paths" to determine if a method exists in the host? if not, is there some way to determine if a method exists in the host, from a component? Additionally, Am I right, I can call a host database method from a component (as long as I know it exists)? Thank

Re: v13 - Host methods, and components

2017-07-24 Thread Chip Scheide via 4D_Tech
i did not see this option initially. I have a follow up question... I am playing with this command. I have the following code: $x:=METHOD Get path(Path Project method;"does not exist") TRACE $x:=METHOD Get path(Path Project method;"url_Errtxt_Init") TRACE the first call to get method path - the m

Re: v13 - Host methods, and components

2017-07-25 Thread Chip Scheide via 4D_Tech
MES.301-3376032.en.html > will return a list of shared method names. > >> 2017/07/25 5:47、Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> のメール: >> if not, is there some way to determine if a method e

nested components

2017-07-25 Thread Chip Scheide via 4D_Tech
I am working on a couple of components. in them I use (reuse) the same code for managing errors, like bad parroter values. can I: - break this error code out into a component, lets call it 'Text_Errors' - then place the 'Text_Errors' component into an other, eventually to be built, component? -a

Re: nested components

2017-07-25 Thread Chip Scheide via 4D_Tech
gt; > Component A can call Component B but not vice versa. > > If you need to call in both directions then Execute Method or Execute > Formula are your friends. > > In the host database have both components available. You can’t use a > ‘contained’ component. > > Wayne &g

Re: nested components

2017-07-25 Thread Chip Scheide via 4D_Tech
THANKS! That should work too.. I'll have to try and play with this a bit. On Tue, 25 Jul 2017 16:56:22 -0500, Keith Culotta via 4D_Tech wrote: > I have one component that is used by the Host and by other > components. These other components are also used by the Host. > 4D puts all the component

Re: 4D Forums feature request - keep it the same

2017-07-27 Thread Chip Scheide via 4D_Tech
link to post to up (or down) vote: http://forums.4d.com/Post//19752777/1/ text of my post on the forum: personally - I do NOT like the idea. why do i need to use a login credential which will likely have financial information behind it (partner/store) to access a purportedly open public forum?

Re: 4D Forums feature request - keep it the same

2017-07-28 Thread Chip Scheide via 4D_Tech
iously NOT the same situation if the forum login credentials are tied to $$$ >> 2017/07/28 2:11、Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> のメール: >> why do i need to use a login credential which will likely have >> financial information behi

Re: 4D Forums feature request - keep it the same

2017-07-28 Thread Chip Scheide via 4D_Tech
versions > and source code of 4D internal components / widgets. > > you might have not noticed, > but forum accounts are already tied to partner program subscription > or license (maintenance) activation accounts. > we just do it (and undo it) manually and/or annually. > &

Re: Can 4D Objects create memory leaks?

2017-07-28 Thread Chip Scheide via 4D_Tech
Tony, I do not use c_object - however... since they are passed by reference, i would think that it would be possible to create object(s) in long lasting process (run time), which unless explicitly disposed of (not sure how you do that - clear contents?) would hang around until the client (or se

Re: Restricting a query

2017-07-31 Thread Chip Scheide via 4D_Tech
You can also filter BEFORE query. for simplicity: Query([table];[table]client_ID = $Current_Client_ID) Query selection([table]) This will open 4D's query editor, and apply the query the user does to the selection you created before hand. On Mon, 31 Jul 2017 11:34:12 -0700 (MST), jarosz via 4D_Te

Re: Fastest way to get text into a BLOB?

2017-08-01 Thread Chip Scheide via 4D_Tech
care to expand on this? I do not understand this part: > arbitrary data are referenced by a number in the JSON, > which is the element number for the BLOB array. Thanks On Tue, 1 Aug 2017 07:54:15 -0500, John DeSoi via 4D_Tech wrote: > I use this model too with a C_OBJECT and ARRAY BLOB. Element

RE: Encrypted Data at Rest

2017-08-02 Thread Chip Scheide via 4D_Tech
depending on the computer system. This is built into (software) OS X it is called 'FileVault'. I believe that Windows 7+ has a similar feature, but this might not be true at all, or only for newer (8 and or 10). I do not have explicit experience (I'm sure Jody does), i would expect there to be s

Blob to Record

2017-08-02 Thread Chip Scheide via 4D_Tech
is there simple way to move an entire (arbitrary) record to a blob? I was hoping for a simple command like: Record to blob([table];Blob) rather then for(records) for(number of fields) convert to text(field) append text to blob end for next end for --- Gas is for washi

Re: Blob to Record

2017-08-03 Thread Chip Scheide via 4D_Tech
gt; C_POINTER($2;$tablePtr) > > $blob:=$1 > $tablePtr:=$2 > > $path:=4D_temp_path +"temp_rec_to_blob"+String(Current process) > > BLOB TO DOCUMENT($path;$blob) > > SET CHANNEL(10;$path) > RECEIVE RECORD($tablePtr->) > SET CHANNEL(11) > SAVE RECORD($t

v13 - wierdness with drag n drop

2017-08-03 Thread Chip Scheide via 4D_Tech
I have a database I am using to test a component. Both component and database are interpreted. it has 2 tables, 1table with 1 field, and the other table with 3 fields. It has 2 project methods for testing the component methods. In this (testing) database, I open the component methods exposed in

Re: ​Re: UUID vs Longint primary key

2017-08-08 Thread Chip Scheide via 4D_Tech
yes, BUT - I find that by placing the internal linking value (non-editable) on an entry form GREATLY enhances the ability/simplicity of tracking down data issues. ex (without viewable internal key): user: "... customer John Smith does not show the correct invoice(s) Dev/Sys admim: John Smith.. ju

Re: ​Re: UUID vs Longint primary key

2017-08-08 Thread Chip Scheide via 4D_Tech
David, how do you tell these two issues apart: Customer name : John Smith Customer Name : John Smyth is this a typo (one should be Smyth and is not, or one should be Smith and is not)? is it real (2 John Smiths with different spellings) I see this problem with a 'free form' entry inventory data.

Re: Preventing Duplicate Data WAS UUID vs Longint primary key

2017-08-08 Thread Chip Scheide via 4D_Tech
Jody, what are your normal duplicate reducing/removal technic(s)? On Mon, 7 Aug 2017 12:28:21 -0600, Jody Bevan via 4D_Tech wrote: > John: > > Thanks for sharing this. I had not thought of this way after all > these years. I will take the idea and apply where appropriate, in > addition to my no

Re: ​Re: Preventing Duplicate Data REAL WORLD

2017-08-08 Thread Chip Scheide via 4D_Tech
On Tue, 8 Aug 2017 07:25:00 -0600, Jody Bevan via 4D_Tech wrote: > > A few years later I developed a photo ID lineup system that was > rejected because it was written in house, Stupid reason > and I wrote it on a > Macintosh instead of MS-DOS. Stupid reason Ohh... gov't all makes sense now

Re: ​Re: UUID vs Longint primary key

2017-08-08 Thread Chip Scheide via 4D_Tech
ok - I'm confused. what is the difference between a display only field showing an internal ID number, and a duplicate, display only ID number showing on the entry form? On Tue, 8 Aug 2017 08:07:00 -0600, npdennis wrote: >> I find that by placing the internal linking value (non-editable) on an

Re: Method Header Strategies

2017-08-10 Thread Chip Scheide via 4D_Tech
the old "standard" of: If (false) // block of comments end if is outdated for a variety of reasons - it started because it made interpreted code faster - as the interpreter would try to 'execute' each line of comment. This was on Motorola 680xx/Intel x86 processors running at a few 10s to a fe

v12+ Folder Properties

2017-08-15 Thread Chip Scheide via 4D_Tech
There is a command Document Properties - which returns various bits of info about a document, including in this instance what I am looking for - visibility. However, this command fails (error) when trying to get the same information for a folder. It appears that there is no equivalent command (

Re: selection based list box

2017-08-16 Thread Chip Scheide via 4D_Tech
you can also clear, and recreate the selection set. Given : Listbox selection set name = "My_Listbox_Set" Clear set("My_Listbox_Set") Create set([table];"My_Listbox_Set") or listbox get table source(My_Listbox;$Tablenum) Create set(table($Tablenum)->;"My_Listbox_Set") On Tue, 15 Aug 2017 15:53:

Re: How to show / hide all on Property List in v16?

2017-08-16 Thread Chip Scheide via 4D_Tech
lost functionality - **SHOULD** be a bug... of course that is when it is not a feature :) On Wed, 16 Aug 2017 05:41:59 -0700, Kirk Brooks via 4D_Tech wrote: > A HA! > Now, is it bug or is it a feature? > > On Wed, Aug 16, 2017 at 4:17 AM, Wayne Stewart via 4D_Tech < > 4d_tech@lists.4d.com> wrote

Creating a document error -61 OS X

2017-08-16 Thread Chip Scheide via 4D_Tech
I am trying to create a document, on disk, in: ~:library:application support:4D: (this is the path returned from GET 4D FOLDER) I tested, and changing from GET 4D Folder, to Temporary Folder for the base path, the file will be written without an issue. It is probably permissions, BUT *I* can rea

v12 & v13 - HLists

2017-08-16 Thread Chip Scheide via 4D_Tech
I have an Hlist, 1 menu item has a submenu (just one level), with 3 possibilities In both v12 and v13 I have the following code: GET LIST ITEM($List_Ref;*;l_Selected_Item_Ref;$Item_Text->) // works f_Action_Selected:=Not(utl_is_Empty ($Item_text)) // works $Parent_Ref:=List item parent($List_Ref

Re: Creating a document error -61 OS X

2017-08-21 Thread Chip Scheide via 4D_Tech
foldername}:Library:Application > Support:4D: should work. > > HTH > Koen > >> Op 16 aug. 2017, om 20:12 heeft Chip Scheide via 4D_Tech >> <4d_tech@lists.4d.com> het volgende geschreven: >> >> I am trying to create a document, on disk, in: >> ~:libr

Re: Save As using memorized path and suggested file name

2017-08-22 Thread Chip Scheide via 4D_Tech
I am not in a position to look in detail, however, it is possible to specify a memorized path. This path is the 'default' path used when an open/save dialog is presented Then in the open/save dialog you can specify a specific file name > Does anybody know if there is a way to present a Save As di

v13 on OS X 12.6

2017-08-29 Thread Chip Scheide via 4D_Tech
I am attempting to connect to a server (v13) with a v13 client from OS X 12.6 Anyone get this to work? I am getting error -10002 (connection disrupted) during the initial connection. Anyone have a 'trick'? Thanks Chip --- Gas is for washing parts Alcohol is for drinkin' Nitromethane

Re: v13 on OS X 12.6

2017-08-29 Thread Chip Scheide via 4D_Tech
updated to Sierra others report v13 will run. The firewall is more robust, > though. Since you're getting the can't connect to the db error I'd start > looking at that sort of thing. > > On Tue, Aug 29, 2017 at 8:47 AM, Chip Scheide via 4D_Tech < > 4d_tech@lists

Re: v13 on OS X 12.6 [solved]

2017-08-30 Thread Chip Scheide via 4D_Tech
I have no idea what/why but after a restart - for other reasons - v13.6 seems to be working (at least it connects, and accepts passwords :) On Wed, 30 Aug 2017 09:24:16 +0200, Bernd Fröhlich via 4D_Tech wrote: > Chip Scheide: > >> I am getting error -10002 (connection disrupted) during the init

Re: Drag & Drop challenge - developer wanted

2017-08-30 Thread Chip Scheide via 4D_Tech
THAT is a good challenge. I am working with a form with Drag n drop enabled. I put this code in the from method: If (Form event=On Drag Over) TRACE End if it does not fire when dragging mail from either my email client, don't worry you don't use it :), nor from Apple Mail.app The Green + does ap

Re: Drag & Drop challenge - developer wanted

2017-08-30 Thread Chip Scheide via 4D_Tech
Talk to Bob Miller... I think he has something. On Wed, 30 Aug 2017 13:17:57 -0700, Lee Hinde via 4D_Tech wrote: > I can get the database 'on drop' method to fire. You get the path to > the email file. > > I can’t get a form to respond in any case. My target is a subform, > which doesn’t have a

[off-ish] For your (US) holiday pleasure...

2017-09-01 Thread Chip Scheide via 4D_Tech
https://www.reddit.com/r/talesfromtechsupport/comments/2f0yfa/database_support_episode_0_am_i_being_fired_no/ An intrados a software development project :) CHip --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ***

Re: Losing Hightlighted Records in a Listbox

2017-09-03 Thread Chip Scheide via 4D_Tech
All of my code here is written in email - so modifying your code: $ListBoxName:="CCTransactionsLB" COPY NAMED SELECTION([CC_Transactions];"TempCurrentSet") LISTBOX GET TABLE SOURCE(*;$ListBoxName;$tableNum;$namedSelection;$highlightSet) copy set($Highlightset;"$TempSet") \\copy the highligh

Re: Losing Hightlighted Records in a Listbox

2017-09-04 Thread Chip Scheide via 4D_Tech
it appears that (based on code posted) he does not change the contents of the highlight set. > you just have to > > COPY SET ("$userset";"$userset") > > on whatever the name of your highlight set. > >> 2017/09/04 12:01、Sannyasin Siddhanathaswami via 4D_Tech >> <4d_tech@lists.4d.com> のメール: >>

Re: 4D dot releases versus R releases - a metaphor

2017-09-08 Thread Chip Scheide via 4D_Tech
exactly... can't be the asme (same) :) On Fri, 8 Sep 2017 08:41:01 -0500, Doug Hall via 4D_Tech wrote: > What's wrong with using semantic versioning, like the rest of the entire > freaking world? --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing **

Re: [OFF] PCI/DSS compliance

2017-09-08 Thread Chip Scheide via 4D_Tech
I find the idea that it is necessary to implement PCI ironic, when Equifax just lost the SS numbers, and other personal data of over 140,000,000 people. On Fri, 8 Sep 2017 11:38:38 -0700, Kirk Brooks via 4D_Tech wrote: > Hi Keith, > I'm just getting back around to this - I like the idea of a VP

Re: OBJECT get variable type

2017-09-11 Thread Chip Scheide via 4D_Tech
maybe - ON BEFORE KEYSTROKE test the current entered length vs expected/desired maximum (255, 4000 etc) On Mon, 11 Sep 2017 20:30:21 +1000, David Adams via 4D_Tech wrote: >> Tested with v16R4. Unfortunately this does not work nicely. > > No idea who thought this one up, but it wasn't me. I've s

Re: [OFF] PCI/DSS compliance

2017-09-11 Thread Chip Scheide via 4D_Tech
FREEZE your credit at all credit reporting agencies! > On Sep 8, 2017, at 4:23 PM,Chip Scheide wrote: > >> I find the idea that it is necessary to implement PCI ironic, when >> Equifax just lost the SS numbers, and other personal data of over >> 140,000,000 people. > > I checked the website th

v12 server - can not connect

2017-09-11 Thread Chip Scheide via 4D_Tech
I am trying to move an older v12 database from one Mac to another The current mac is running 10.9.5, and v12.6 server - everything is fine. I am setting up a new server to handle the lab's file sharing needs (old file server is a G5) The new Mac is running 10.9.5 Server. I have the v12 database

Re: v12 server - can not connect

2017-09-11 Thread Chip Scheide via 4D_Tech
gt; Randy > > -- > Randy Jaynes > Senior Programmer and Customer Support > > http://printpoint.com <http://printpoint.com/> ∙ 845.687.3741 ∙ > PrintPoint, Inc ∙ 57 Ludlow Lane ∙ Palisades, NY 10964 > > > > > >> On Sep 11, 2017, at 11:44 AM, Chip Sche

[resolved] v13 - Interpreted - Out of Stack space - Wierd

2018-12-21 Thread Chip Scheide via 4D_Tech
I did manage to track down the problem - The problem was related screen resolution and orientation. -- Apparently 4D does not like mixed monitor orientations. In this particular case 1 monitor is in 'normal' orientation (wider then high), the second monitor was in vertical orientation (tall

Re: REDRAW WINDOW not working v17?

2019-01-06 Thread Chip Scheide via 4D_Tech
Alan, try: On Click or On Data change (for your boolean) set timer(1) or some other small value in the form method, On Timer call process(current process) or Call Process(-1) Chip > Hello again Bernd, > > I tried several other things but never got anything to work other than my > original cod

Re: Replacement Code for very old DisplayList plugin

2019-01-07 Thread Chip Scheide via 4D_Tech
Walt, Not sure how much hiding of the listbox(es) Foundation does, as I do not use it... but if can get access to the listbox(es) before display, and after user interaction you can loop over the displayed arrays looking for the value of TRUE Before display: Set the listbox(es) Selection Mode (p

Re: CalDAV server from 4D

2019-01-07 Thread Chip Scheide via 4D_Tech
If I understand you correctly, you are sharing the raw .ics files, not running a caldev server. In this case, while I am not using the newest version of OS X Server, you can/should still be able to share these files. Create a mount point. Setup a user group with access, and add existing users.

[Resolved] v13 - Out of Stack Space

2019-01-08 Thread Chip Scheide via 4D_Tech
I posted this before the holidays, but it never showed up I did manage to track down the problem - The problem was related screen resolution and orientation. -- Apparently 4D does not like mixed monitor orientations. In this particular case 1 monitor is in 'normal' orientation (wider t

v13- Chasing Relations

2019-01-08 Thread Chip Scheide via 4D_Tech
given a pointer to a table, or a pointer to a field of a table, I want to be able, for the current record of this table, to : - iterate over all the fields of the table - I know how to do this -- determine if the current field has 1 or more relations - I do not know how to do this --- if there are

Re: v13- Chasing Relations

2019-01-08 Thread Chip Scheide via 4D_Tech
ml > <https://doc.4d.com/4Dv17/4D/17/dataClassAttributerelatedDataClass.303-3884018.en.html> > > > Keith - CDI > >> On Jan 8, 2019, at 2:47 PM, Chip Scheide via 4D_Tech >> <4d_tech@lists.4d.com> wrote: >> >> given a pointer to a table, or a

Re: v13- Chasing Relations

2019-01-08 Thread Chip Scheide via 4D_Tech
aren't there hidden tables which contain the various table and field attributes? On Tue, 8 Jan 2019 15:47:11 -0500, Chip Scheide via 4D_Tech wrote: > given a pointer to a table, or a pointer to a field of a table, > I want to be able, for the current record of this table, to : >

Re: v13- Chasing Relations

2019-01-08 Thread Chip Scheide via 4D_Tech
elations can be circular... > > 2019/01/09 5:47、Chip Scheide via 4D_Tech > <4d_tech@lists.4d.com<mailto:4d_tech@lists.4d.com>>のメール: > > --- if there are 1 or more relations, I want 'follow' each relation to > determine if there exists 1 or more related records at

v13+ - Hidden tables

2019-01-09 Thread Chip Scheide via 4D_Tech
Is there documentation regarding the hidden tables, such as _USER_CONSTRAINTS, of a structure? If so where? Thanks Chip --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ** 4D Internet

Re: v13+ - Hidden tables

2019-01-09 Thread Chip Scheide via 4D_Tech
; >> On Jan 9, 2019, at 07:05, Chip Scheide via 4D_Tech >> <4d_tech@lists.4d.com> wrote: >> >> Is there documentation regarding the hidden tables, such as >> _USER_CONSTRAINTS, of a structure? >> If so where? >> >> >> Thanks >> C

Re: v13- Chasing Relations

2019-01-10 Thread Chip Scheide via 4D_Tech
cies_Exist On Thu, 10 Jan 2019 17:02:52 +0100, Arnaud de Montard via 4D_Tech wrote: > >> Le 8 janv. 2019 à 21:47, Chip Scheide via 4D_Tech >> <4d_tech@lists.4d.com> a écrit : >> >> given a pointer to a table, or a pointer to a field of a table, >> I wa

Re: v13- Chasing Relations

2019-01-10 Thread Chip Scheide via 4D_Tech
Thanks! on the first look it would appear to be simpler/faster to use Sql. On Thu, 10 Jan 2019 21:15:48 +0100, Arnaud de Montard via 4D_Tech wrote: > >> Le 10 janv. 2019 à 20:21, cjmiller--- via 4D_Tech >> <4d_tech@lists.4d.com> a écrit : >> >> You could run it on server > > Running a method

v13+ self referentail relations

2019-01-10 Thread Chip Scheide via 4D_Tech
How do you create a self referential relation? in older versions you could drag the relational arrow back to the same field to get a 'loop' This does not work now, and I tried to modify the system tables but these are locked, and I can not get them to unlock. 2 questions: - how do I draw a sel

RE: v13+ self referentail relations

2019-01-10 Thread Chip Scheide via 4D_Tech
this used to be possible. what happens when an older structure with a self referential relation is upgraded? >> how do I draw a self-referential relation? > You cannot make a single field both the primary and foreign keys of a > relation. You must choose two different fields. > For example, you

RE: v13+ self referentail relations

2019-01-11 Thread Chip Scheide via 4D_Tech
Thanks On Fri, 11 Jan 2019 17:19:57 +, Timothy Penner wrote: >> this used to be possible. > > In 2004 and prior, yes... But it is no longer possible starting with v11. > >> what happens when an older structure with a self referential >> relation is upgraded? > > It looks like the relationsh

v13+ Components and Host forms

2019-01-16 Thread Chip Scheide via 4D_Tech
I have been reading through the docs on components, and I am not clear. If I have a component, and I want to add a record to a host table, using an entry form defined in the host system. Can I do the following in the component, and expect it to work? $Table:=$1 // pointer to table to add a r

Re: Command Symbol as part of Title of Button

2019-01-16 Thread Chip Scheide via 4D_Tech
John, as I recall to do this (command symbol) you need to use the Font Chicago, as it was only font that supported it. Chicago is a now defunct font. So... I do not think you can do this with a standard button and text. You might be able to cobble something together with SVG (I would not know),

Re: v13+ Components and Host forms

2019-01-16 Thread Chip Scheide via 4D_Tech
a method in the host, callable by > the component, which opens a specified form (for my purposes, using > DIALOG, but I can’t see why ADD RECORD shouldn’t be OK as well). It > works. > > Jeremy > >> On 17 Jan 2019, at 05:49, Chip Scheide via 4D_Tech >> <4d_te

Re: Sort messes up Listbox selection when in a transaction

2019-01-25 Thread Chip Scheide via 4D_Tech
Pat, I'm not using v17 - so i can't help directly, but How about doing this instead - should be faster On load of form (or change of content of listbox) create a set - "listbox_display" on delete use set (listbox selection set) delete selection use set("listbox_display") // no query needed So

RE: Does 4D 64-bit Volume desktop use more than 1 core?

2019-01-30 Thread Chip Scheide via 4D_Tech
there was no mention of components. I assume, as components are effectively 4D methods, that a thread safe method (call chain) in a component, would make a call to the component method from the host system thread safe as well. Chip On Wed, 30 Jan 2019 21:00:27 +, Timothy Penner via 4D_Tech

Re: Does 4D 64-bit Volume desktop use more than 1 core?

2019-01-30 Thread Chip Scheide via 4D_Tech
ptive capable, any shared method > it uses must also be marked as preemptive capable. Otherwise 4D says > the method further down in the call chain is not thread safe even if > it has no thread unsafe commands. > > John DeSoi, Ph.D. > > >> On Jan 30, 2019, at 3:05 PM

Re: How to display read-only input form

2019-02-06 Thread Chip Scheide via 4D_Tech
the only solution I found was: variables. Built the form with variables. - variable are enterable. User can tab through the variables, copy text, and even change the data - but the if they change the data it reverts to the original value(s) with this idea in mind, object methods, or form method

Re: How to display read-only input form

2019-02-07 Thread Chip Scheide via 4D_Tech
Koen, Nice - I did not know that Chip On Thu, 7 Feb 2019 10:19:04 +0100, Koen Van Hooreweghe via 4D_Tech wrote: > > If a field is set to focusable but not enterable, the user can't edit > the content, but will be able to select and copy. --- Gas is for washing parts Alcohol is for

Re: v17 conundrum in design

2019-02-07 Thread Chip Scheide via 4D_Tech
a break in a component, plug-in an oddity... use runtime explorer to clear all break points - if it still persists try restart 4D I have seen this in earlier versions too Chip On Thu, 7 Feb 2019 15:39:26 -0500, Chuck Miller via 4D_Tech wrote: > Hi All, > > I have an object method that shows n

Re: v17 conundrum in design

2019-02-07 Thread Chip Scheide via 4D_Tech
Chuck also I get this sometimes when there is break in a method which is called via EXECUTE FORMULA especially if the method is called during screen drawing (On display detail) Chip a break in codeOn Thu, 7 Feb 2019 15:39:26 -0500, Chuck Miller via 4D_Tech wrote: > Hi All, > > I have an object

Re: v17 conundrum in design

2019-02-07 Thread Chip Scheide via 4D_Tech
Chuck look for a hard break (TRACE) either in a called component, plugin or method called via EXECUTE FORMULA On Thu, 7 Feb 2019 16:12:38 -0500, Chip Scheide via 4D_Tech wrote: > Chuck > also I get this sometimes when there is break in a method which is > called via EXECUT

Re: v17 conundrum in design

2019-02-07 Thread Chip Scheide via 4D_Tech
7, 2019 at 4:15 PM Chip Scheide via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> Chuck >> look for a hard break (TRACE) >> either in a called component, plugin or method called via EXECUTE >> FORMULA >> >> On Thu, 7 Feb 2019 16:12:38 -0500, Chip

Named Selections

2019-02-08 Thread Chip Scheide via 4D_Tech
Is there a way to determine if a named selection exists? something like this: if (Not(Named Selection Exists("Selection_Name"))) Copy Named Selection([table];"Selection_Name") end if Thanks Chip --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing *

RE: Named Selections

2019-02-08 Thread Chip Scheide via 4D_Tech
n use it, and test > the result of your call error handler. > > Hth! > > David Ringsmuth > > From: Chip Scheide via 4D_Tech > Sent: Friday, February 8, 2019 11:52 AM > To: 4D iNug Technical > Cc: Chip Scheide > Subject: Named Selections > > Is there a way to d

Re: On Drag Over Behavior

2019-02-14 Thread Chip Scheide via 4D_Tech
conceptually - 4D should do the cursor change for you (declaimer: not v17) I have selection list boxes which I allow the user to drag data from other list boxes in other windows/processes. In the On Begin Drag Over I setup a process variable, ptr_Drag_n_Drop_Source, which holds a pointer to the

Re: On Drag Over Behavior

2019-02-14 Thread Chip Scheide via 4D_Tech
right - On Drag Over - return a value to allow/stop the drop event On Drop - do NOT return any value > >> Also, if the “On drop” event code has $0, make sure $0 returns 0 or >> simply (for the moment) comment out the $0 line. > > Yes Hell is other people Jean-Paul Sartre

Re: Query by Formula Count of Records in Related Table

2019-02-18 Thread Chip Scheide via 4D_Tech
adjust the comparisons (> < = ) as needed in the method mymethod_related_Rec_Count mymethod_related_Rec_Count (Min_count;Max_Count) c_Boolean($0) relate many([parent_table]field) $0:=((records in selection(related_table]) = min_count) & (records in selection(related_table]) > Max_Count)) //end

<    3   4   5   6   7   8   9   10   11   12   >