Re: LEP - and Batch files

2017-11-09 Thread Chip Scheide via 4D_Tech
" +Source+" "+Destination+" > /MIR";$in;$out;$err) > dont forget the spaces > The Paths in Source and Destination are all escaped with "" > cheers > -pm > > On Thu, Nov 9, 2017 at 3:08 PM, Chip Scheide via 4D_Tech < > 4d_tech@li

Re: LEP - and Batch files

2017-11-09 Thread Chip Scheide via 4D_Tech
ting to accomplish the same task. On Thu, 9 Nov 2017 00:07:48 -0500, Chip Scheide via 4D_Tech wrote: > no Ill try that too > Thanks > >> Chip, >> >> have you tried to change the .bat file to eliminate the ‘cmd’ call >> and run xcopy directly, so tha

Re: Counting occurrences of specific characters In a document

2017-11-08 Thread Chip Scheide via 4D_Tech
a cheat.. you will create 2 copies of the data. $Start_size := length(Imported_Text) $Removed:=replace string(Imported_Text;Char(13)) $Removed_Size:=$Start_Size - Length($Removed) $Removed_Size = number of characters (returns) replaced > Thank you Cannon, > > Progress indicator is not the only

Re: LEP - and Batch files

2017-11-08 Thread Chip Scheide via 4D_Tech
ou need that “cmd.exe” for? > > julio > ' >> On Nov 8, 2017, at 10:06 PM, Chip Scheide via 4D_Tech >> <4d_tech@lists.4d.com> wrote: >> >> >> what is in the batch file is : >> cmd.exe /C xcopy 2>> >> >> All paths are valid. >

Re: LEP - and Batch files

2017-11-08 Thread Chip Scheide via 4D_Tech
t I am mostly sure that the windows OS (7) is 32 bit > On 9 Nov 2017, at 4:44 am, Chip Scheide via 4D_Tech > <4d_tech@lists.4d.com> wrote: >> >> I have tried all of the offered suggestions: >> Start ?b >> running without a call to cmd >> \batchfil

Re: Normalization question

2017-11-08 Thread Chip Scheide via 4D_Tech
specially > since the use of UUIDs has been such a convenience. I took > 'meaningful' to imply 'user definable' (with guidance of course), in > spite of the headaches it can lead to. > > Keith - CDI > >> On Nov 8, 2017, at 4:48 PM, Chip Scheide via 4D_Tech

Re: Normalization question

2017-11-08 Thread Chip Scheide via 4D_Tech
** NO ** user definable data should be used as relational/unique key value. generate your own internal values for relations, longint, UUIDs, variations on the Batman Logo, anything that the user has no say in what it is nor how it is used. On Wed, 8 Nov 2017 17:38:38 -0500, Chip Scheide via

LEP and (unix/Mac) cp -r command

2017-11-08 Thread Chip Scheide via 4D_Tech
anyone doing something like this? $Source_Path:=utl_file_Directory_Mark_Remove ($Source_Path) //trailing directory mark causes issues $External_Command:="cp -r "+utl_file_Path_Convert_to_Posix ($Source_Path) $External_Command:=$External_Command+" "+utl_file_Path_Convert_to_Posix

Re: LEP - and Batch files

2017-11-07 Thread Chip Scheide via 4D_Tech
Ill try that tomorrow -- ill try anything right now :) Thanks > I would run the .bat file like this > > cmd.exe /C start /B {path_to_bat} > > > > > > ** > 4D Internet Users Group (4D iNUG) > FAQ:

Re: v13 - installing plugin [resolved]

2017-11-03 Thread Chip Scheide via 4D_Tech
That was it. THANKS!!! to iNug - sorry for the bandwidth wastage :) Chip On Fri, 3 Nov 2017 16:29:19 -0400, Chip Scheide via 4D_Tech wrote: > maybe not > ill pull it again > > On Fri, 3 Nov 2017 20:25:30 +, Keisuke Miyako via 4D_Tech wrote: >> Hello, >> >&g

Re: v13 - installing plugin

2017-11-03 Thread Chip Scheide via 4D_Tech
maybe not ill pull it again On Fri, 3 Nov 2017 20:25:30 +, Keisuke Miyako via 4D_Tech wrote: > Hello, > > did you re-download after I added v11-v13 support? > >> 2017/11/04 4:02、Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> のメール: >> it is this plugin: &

Re: v13 - installing plugin

2017-11-03 Thread Chip Scheide via 4D_Tech
Forgot to mention - on Macintosh (10.9.5) On Fri, 3 Nov 2017 15:02:28 -0400, Chip Scheide via 4D_Tech wrote: > it is this plugin: > https://github.com/miyako/4d-plugin-get-folder-size > > There are 2 versions in the download (v11 and v14), neither work. > Keisuke says the v1

Re: v13 - installing plugin

2017-11-03 Thread Chip Scheide via 4D_Tech
ansmission is strictly > prohibited. Delivery of this message to any person other than the > intended recipient shall not compromise or waive such > confidentiality, privilege or exemption from disclosure as to this > communication. > >> On Nov 3, 2017, at 2:15 PM, Chip Sche

v13 - installing plugin

2017-11-03 Thread Chip Scheide via 4D_Tech
I am trying to get a plugin to work. I open the structure (show package contents) copy the folder 'Plugins' and the enclosed .bundle file into the package. restart the database - nothing Chip --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing

v13 - LEP and windows commands

2017-11-02 Thread Chip Scheide via 4D_Tech
I am unable to get LEP to function on windows . I can not get any of the following commands to return any value other then the directory path to either the database, or 4D executable, where is a valid DOS pathname. Dir /S Dir xCopy /H /E Copy It does not matter if I enclose the path in

RE: v13 - LEP and MS-DOS command line

2017-11-02 Thread Chip Scheide via 4D_Tech
-0500, Tim Nevels via 4D_Tech wrote: > On Nov 2, 2017, at 2:00 PM, Chip Scheide wrote: > >> Thanks - I thought about sticking it into a folder somewhere and doing >> basically that - >> BUT this code is going to be part of a component... > > Then this is good situation.

RE: v13 - LEP and MS-DOS command line

2017-11-02 Thread Chip Scheide via 4D_Tech
Message- >> From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of >> Chip Scheide via >> 4D_Tech >> Sent: Thursday, November 2, 2017 5:51 PM >> To: 4D iNug Technical <4d_tech@lists.4d.com> >> Cc: Chip Scheide <4d_o...@pghrepository.org> &

RE: v13 - LEP and MS-DOS command line

2017-11-02 Thread Chip Scheide via 4D_Tech
Thanks for the link to DU for Windows, but in this instance the software will not be on machines I control... so an additional piece of software (outside of 4D, plugins are OK) does not work. On Thu, 2 Nov 2017 16:21:14 +, Timothy Penner via 4D_Tech wrote: > I was going to suggest using

Re: v13 - LEP and MS-DOS command line

2017-11-02 Thread Chip Scheide via 4D_Tech
I have not yet looked at the plugin, but my idea was to let the OS handle directory size calculations, on both platforms. on Mac/Unix du -c returns text which looks something like this (desktop folder size): 10472072/Users//Desktop/ 27426552 /Users//Desktop as I understand the DOS

Re: v13 - LEP and MS-DOS command line

2017-11-02 Thread Chip Scheide via 4D_Tech
WOW! Great! Thanks! Chip > I looked up the internet, it turns out we really have to traverse the > directory tree... > given the atomic nature of LEP, it might not be the best way to > calculate the total size of files in a folder. > > here is plugin with an option to abort: > >

Re: v13 - LEP and MS-DOS command line

2017-11-01 Thread Chip Scheide via 4D_Tech
5341/size-of-a-directory > > why would you need that piece of information? > >> 2017/11/02 9:27、Chip Scheide <4d_o...@pghrepository.org> のメール: >> So... I Should expect LEP to return a di

Re: v13 - LEP and MS-DOS command line

2017-11-01 Thread Chip Scheide via 4D_Tech
Thanks! I look at that tomorrow So... I Should expect LEP to return a directory listing (given the command is written correctly) in $LEP_Output? > Hello, > > if <>x_Quote+$Path ends with a directory symbol, > double-quoting the string isn't enough, > the directory symbol is also an escape

Re: SQL error

2017-11-01 Thread Chip Scheide via 4D_Tech
that explains the fact that a restart of 4D fixed the issue! On Wed, 1 Nov 2017 16:10:46 -0500, Richard Wright via 4D_Tech wrote: > I’ve seen Nested Begin/End SQL errors when a previous statement did > not complete. If you get an error and then abort the code it’s left > open and the next time

Re: identify duplicates

2017-11-01 Thread Chip Scheide via 4D_Tech
One of the things others have mentioned, but have not really expounded upon... What constitutes a duplicate? For an individual field this can be complex, for multiple fields... For some data types (numerics) a duplicate is easy to define 2 = 2 = 2 = 2 (integer/long integer) For others (text) it

Re: [Warning] Settings properties values on object field by object notation

2017-10-31 Thread Chip Scheide via 4D_Tech
Keisuke, I don't think anyone is arguing for a 'Save always' system. I think we are saying IF the data (inside the object field) has been modified - it needs to be saved, if the request is made to save the record, REGARDLESS of how the modification occurred. a direct assignment via dot

Re: [Warning] Settings properties values on object field by object notation

2017-10-31 Thread Chip Scheide via 4D_Tech
to me... using either OB SET(object_field;value) = Object_field.property := value They SHOULD do the same thing, either BOTH set the flag to save the data, or neither do. In all other 4D field types " := " says 'I changed this value', make sure the new data is saved if such a request

Re: pointers to arrays

2017-10-31 Thread Chip Scheide via 4D_Tech
Peter, IF your code will never be compiled the first code I sent will work, and you will be creating arrays 'on the fly', if you do this, I suggest you create local arrays, array names starting with a '$', so that they are thrown away at the end of the process/method. IF you code will EVER be

Re: [Warning] Settings properties values on object field by object notation

2017-10-31 Thread Chip Scheide via 4D_Tech
THIS is definitely a bug. Past behavior is if a field is modified (even assigning itself to itself) sets the 'dirty' flag, and the ENTIRE record is to be saved. On Tue, 31 Oct 2017 09:58:09 -1000, John Baughman via 4D_Tech wrote: > > ALL RECORDS([Patient Record]) > [Patient Record]

Re: pointers to arrays

2017-10-31 Thread Chip Scheide via 4D_Tech
compiler declaration(s) Array (Variable_Name;Size) is the type of the array you want, text, longint, etc On Tue, 31 Oct 2017 19:42:42 +, Peter Mew via 4D_Tech wrote: > Thank You > And How do I create the Arrays in the First Place > -pm > > On Tue, Oct 31, 2017 at 7:32 PM, npdennis

Re: pointers to arrays

2017-10-31 Thread Chip Scheide via 4D_Tech
some pseudo code to follow: an out line would be: if the code is not compiled the following will work, if it is (or is going to be) then you need to create the arrays before hand. For the example all arrays are text. Array pointer($New_Array_Handles;0) For ($i;1;$Number_Of_Arrays)

Re: [Warning] Settings properties values on object field by object notation

2017-10-31 Thread Chip Scheide via 4D_Tech
> > The problem is that the dirty flag is not set when dot notation is > used against an object field. In your scenario the following will work > … field modified = field modified --right?!?! > OB SET ([Table1]Object;”value”;b_value) //this will set the record dirty. > > And, yes, I

Re: [Warning] Settings properties values on object field by object notation

2017-10-30 Thread Chip Scheide via 4D_Tech
Alberto, doesn't Goto REcord ([table];0) - generate an error? there is no record number 0 from documentation : If record is less than the smallest record number in the database or greater than the greatest record number in the database > Hello, > > If the value of a property is modified using

Re: find only partial strings

2017-10-27 Thread Chip Scheide via 4D_Tech
my first response was a bit terse... If you need to retain source text length (and relative position of the shorter 'seg' texts) $Replacement:=char(256)*7 $New_Text:=Replace string($source;"Segment";$Replacement) $Loc:=0 Repeat $Loc:=position("Seg";$New_Text;$Loc+1) if ($Loc>0) do

Re: find only partial strings

2017-10-27 Thread Chip Scheide via 4D_Tech
$New_Text:=replace string($Source;"Segment";"") $Location:=Position("Seg";$New_Text) On Fri, 27 Oct 2017 20:07:18 +0100, Peter Mew via 4D_Tech wrote: > Hi > If I have a document, that has both the word "seg" and the word "segment", > is there a way I can find the positions of just the word "seg"

Re: 4D Remote hanging at 3am after upgrading to Hi Sierra.

2017-10-27 Thread Chip Scheide via 4D_Tech
e the 'daily cleanup' routines that OS X runs? I'm assuming > previous OS X versions did that too, but want to look into this. > > Thanks, > > Brad > > On 10/27/17, 10:38 AM, "Chip Scheide" <4d_o...@pghrepository.org> wrote: > > since it is at the

Re: 4D Remote hanging at 3am after upgrading to Hi Sierra.

2017-10-27 Thread Chip Scheide via 4D_Tech
since it is at the same time - There are a couple of possibilities: - anti virus software (either update, or scan) - cron job - specifically the daily 'cleanup' routines run by OS X - some other specific timed action setup by(?) IT, the end user(s)? Chip On Fri, 27 Oct 2017 16:22:36 +,

Re: v13 - Renaming a Directory via code.

2017-10-23 Thread Chip Scheide via 4D_Tech
quot;\\'") //'a'b' -> 'a\'b' $Path:=Replace string($Path;"&";"\\&") //'a' -> 'a\' $Path:=Replace string($Path;"\"";"\\\"") //'a"b' -> 'a\"b' $Path:=Replace string($Path;"(";"\\(") //'a(b' -&

Re: Move a progress bar before it opens

2017-10-21 Thread Chip Scheide via 4D_Tech
code or it didn't happen :) just kidding :) > >> On Oct 21, 2017, at 10:26 AM, Jeffrey Kain via 4D_Tech >> <4d_tech@lists.4d.com> wrote: >> >> Using 4D's progress bar component for the first time... >> >> How can you have it open at a specific position, instead of opening >> it first and

Re: v13 - Renaming a Directory via code.

2017-10-20 Thread Chip Scheide via 4D_Tech
Ill post mine on Monday. I got it from Jorge I think > On Oct 20, 2017, at 4:30 PM, Chip Scheide <4d_o...@pghrepository.org> wrote: > >>> $command_t:="mv "+GetPOSIXfilePath ($folderPath_t)+" >> had trouble here - >> apparently 4D's (v13) Conver

Re: v13 - Renaming a Directory via code.

2017-10-20 Thread Chip Scheide via 4D_Tech
Tim, first - it works (OSX) even renaming a folder to the same name but case changed. i.e. My_Folder -> MY_FOLDER THANKS! the below line of code - On Fri, 20 Oct 2017 16:21:24 -0400, Chip Scheide via 4D_Tech wrote: >> $command_t:="mv "+GetPOSIXfilePath ($folderPath_t)+

Re: v13 - Renaming a Directory via code.

2017-10-20 Thread Chip Scheide via 4D_Tech
that it will work even with a case change, as this is occurring at the OS level, rather then 4D. Thanks again On Fri, 20 Oct 2017 15:07:23 -0500, Tim Nevels via 4D_Tech wrote: > On Oct 20, 2017, at 1:04 PM, Chip Scheide wrote: > >> I want to rename a directory, from say New Folder -

Feature request : new command : MOVE FOLDER

2017-10-20 Thread Chip Scheide via 4D_Tech
link to forum request: http://forums.4d.com/Post//21269476/1/ text of request: >Product :4D - 4D Server The command MOVE DOCUMENT chokes (v13, also reported in v11 and v12), on trying to move/rename a folder. According to comments in the original feature request (for v11) MOVE DOCUMENT would

v13 - Renaming a Directory via code.

2017-10-20 Thread Chip Scheide via 4D_Tech
I want to rename a directory, from say New Folder -> New Folder too Move Document complains, as neither the source nor the destination are documents. is there another means to rename a folder other than: - Create new folder with new/changed name - copy all contents from source folder to

Re: Is a package preferred?

2017-10-20 Thread Chip Scheide via 4D_Tech
Other issue with package systems: - data file can be unintentionally replaced/lost during an update to the structure/package. ex: client copies new structure/package to old location overwriting existing structure/package -- datafile (other items(?)) LOST! I understand the idea - but I always

Re: v13+ unti testing UI

2017-10-18 Thread Chip Scheide via 4D_Tech
maybe I need a better spelling checker too :p Unit Testing* --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html

v13+ unti testing UI

2017-10-18 Thread Chip Scheide via 4D_Tech
I have a component I am finishing up, finally. I have written a bunch of testing methods for the various functions (which will be supplied when the source code is purchased) One part of the component has a UI (a single dialog, which can open 'sub-dialogs'). I have test code for the various

Re: v13 - How to clear Array list box selection - nevermind

2017-10-16 Thread Chip Scheide via 4D_Tech
D_Tech wrote: > Something along the lines of the listbox variable being a BOOLEAN > array. The highlighted rows are TRUE. > > Keith - CDI > > >> On Oct 16, 2017, at 4:36 PM, Chip Scheide via 4D_Tech >> <4d_tech@lists.4d.com> wrote: >> >> I have an

v13 - How to clear Array list box selection

2017-10-16 Thread Chip Scheide via 4D_Tech
I have an array based listbox. I make a select the first row. I drag n drop something else onto the listbox, the previous selected row remains selected. How do I clear this? I know how to do this in a selection listbox.. but can't remember/figure out how to clear the selection in an array

Re: What's the Longest you can DELAY PROCESS?

2017-10-16 Thread Chip Scheide via 4D_Tech
have a "cron" utility a process that has a list (records, array, whatever) of all processes that are deamons have it wake the deamon as appropriate using Call process. All deamons use Pause Process, rather then delay to sleep. ex: Cron: Repeat Process count := number of processes to manage

Re: right click in text variable gets menu with cut copy paste

2017-10-14 Thread Chip Scheide via 4D_Tech
the only thing I can think of, right now, is: On Event call for the form. watch for the right click check cursor position - inside a field/variable give popup else ignore > Hi all, > problem / request: > A user of one of my database solutions on PC W7 4D v13.6 is > complaining that, in many

Re: Subrecords with subrecords

2017-10-14 Thread Chip Scheide via 4D_Tech
ause I can quit working > in 2004 and get back to v16. > > And, if you want to renew your enthusiasm for the progress 4D have made in > the product over the years, go work in 2004 for a while... > > > On Fri, Oct 13, 2017 at 11:13 AM, Chip Scheide via 4D_Tech < > 4d_tec

Re: Subrecords with subrecords

2017-10-13 Thread Chip Scheide via 4D_Tech
Kirk : yes. if I remember the subtable syntax correctly Execute formula("x_text:=[table]subtable1.subtable2.fieldname") Lee I am not sure that this will work, but if it does it might make your life easier... have 1 method (which will likely have to be hard coded) to get pointers to all

Re: v13 - odd compiler error

2017-10-12 Thread Chip Scheide via 4D_Tech
well your "friend" ;) was right... DUH! c_pointer($43; of course, I have copy pasted, into a new method window, deleting the original, compacted, and had *just* finished manually retyping the method (not long fortunately)... On Thu, 12 Oct 2017 10:26:01 -1000, David Adams via 4D_Tech

v13 - odd compiler error

2017-10-12 Thread Chip Scheide via 4D_Tech
I have a method, which takes 3 parameters When I try to compile... - Generate typing -- OK - Check Syntax -- OK - Compile 0: The parameter $4 could not be typed ... 0: The parameter $42 could not be typed as this is a component, there are no calls to this method in the database. Any

Re: Min/Max for Date Fields in 4D

2017-10-12 Thread Chip Scheide via 4D_Tech
Distinct values ? sort (resulting) array get first and last element On Wed, 11 Oct 2017 17:30:01 -0400, Alan Tilson via 4D_Tech wrote: > Greetings everyone, > > Is there a way to get the earliest and latest dates from a selection of > records similar to using Min/Max for numerical data? > > I

Re: Making LOG EVENT thread-safe

2017-10-09 Thread Chip Scheide via 4D_Tech
question: was your IP var a longint?, Real?, or Doublelong (whatever it is called)? This might make some difference to your testing.. BUT... based on your discovered size limit, it seems that the Worker Queue is limited by some internal reference to a long integer... MaxLong being

Re: 4D v16.2 false record locks

2017-10-06 Thread Chip Scheide via 4D_Tech
you cut out the first part : while doing testing :) I revert to local or process (as appropriate) in final version On Fri, 6 Oct 2017 06:59:30 -1000, John Baughman wrote: >> >> I do this: >> <>Doc_Ref:=Open Document > > > Great idea. That is unless you think global variables are evil ;-)

Re: 4D v16.2 false record locks

2017-10-06 Thread Chip Scheide via 4D_Tech
David, my experience with file locks - not concurrently (in as much as you are trying to do), but generically while trying to read/write/ etc disk files: I do not do this when testing any more $Doc_ref:=Open Document I do this: <>Doc_Ref:=Open Document Why? because when the process that

[offish]Volume of mail

2017-10-05 Thread Chip Scheide via 4D_Tech
I know that many of you have been on this list for a long time, as have I. I have noticed, over the past couple of years, that the volume of email on this list has dropped - a lot -. It used to be, that if I was out of the office, or whatever, and unable/unwilling to check email for 1 or more

Re: What to do about users who won't follow instructions?

2017-10-04 Thread Chip Scheide via 4D_Tech
As Doug said different people learn differently. Things to try: - more or different style of training. i.e. instead of a presentation give written documentation, instead of written documentation, show the user and ask them to take their own notes (this helps as they have to think through the

RE: 4D v16.2 false record locks

2017-10-04 Thread Chip Scheide via 4D_Tech
I with David on this one. I reported a bug in 4D's math libraries back in v2.3 (this would have been 1993 or 1994 I think). it had to do with small values and comparison with zero. Very small real values (even when not zero), were in a comparison = zero. It has been fixed in v13, I do not

Re: 4D v16.2 false record locks

2017-10-03 Thread Chip Scheide via 4D_Tech
one thing that bit me in earlier versions (not v16) is Read Only. A record is locked when it is loaded in read only, in a single user system this might be an explanation. On Tue, 3 Oct 2017 10:05:20 -0500, John DeSoi via 4D_Tech wrote: > >> On Sep 19, 2017, at 7:33 PM, John DeSoi

v13 - replace string, odd slowness

2017-09-29 Thread Chip Scheide via 4D_Tech
v13 Mac on OS X 10.9.5 I have the some code testing a utility. I create some text, and then replace specific characters in the text (see below) When I replace a marker with Carriage return, no problem When I replace CR with linefeed, no problem when I replace linefeed with CrLf REPLACE STRING

RE: Love 4D's math interpretation...

2017-09-27 Thread Chip Scheide via 4D_Tech
I know that - BUT - 10^6 should be interpreted as a single value On Wed, 27 Sep 2017 17:18:24 +, Dennis, Neil wrote: >> 150*10^6 # 10^6*150 > > Been this way forever... 4D is () first, then strict left to right. > > Neil > > > > > > > > > -- > > Privacy Disclaimer: This message

Love 4D's math interpretation...

2017-09-27 Thread Chip Scheide via 4D_Tech
150*10^6 # 10^6*150 values are: 1.139E19 vs 150,000,000 (150*10)^6 vs (10^6)*150 sigh... --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ** 4D Internet Users Group (4D iNUG) FAQ:

v13(+?) - Get document size on a Mac

2017-09-26 Thread Chip Scheide via 4D_Tech
documentation says: On Macintosh, if you do not pass the optional * parameter, the size of the data fork is returned. If you do pass the * parameter, the size of the resource fork is returned. this code: r_readfile_Size:=Get document size(x_readfile_Doc_Ref) If (<>f_Is_a_Mac) //check on

Re: v13+ is there a size limit to receive packet? -- YES!

2017-09-26 Thread Chip Scheide via 4D_Tech
as you go. > > don't use arrays (defeats the purpose of chunking), > don't use text (bloats the size and adds overhead for decoding). > >> 2017/09/26 6:30、Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> のメール: >> Is there a limit to how much can be

Re: Making LOG EVENT thread-safe

2017-09-26 Thread Chip Scheide via 4D_Tech
so, if this is a logging issue, will not most/all events requiring logging pass through the server? so logging would not/should not take network bandwidth - log from trigger, log from stored methods, log from 'execute on server' >> >> >> Thanks for the explanation. Your second point (no reason

v13+ is there a size limit to receive packet?

2017-09-25 Thread Chip Scheide via 4D_Tech
Is there a limit to how much can be read in one 'chunk' via Receive Packet? (form : Receive Packet(Document_reference;Variable;number_of_Characters) I am trying to test some code which is attempting to import text from a file. In this case the file is known to be larger then 4D can handle as

v13+ - Feature or bug?

2017-09-25 Thread Chip Scheide via 4D_Tech
I am working on importing a text file. I inadvertently closed the document. After closing the document, the command Get document Size(Document reference) returns a valid number for the file in question. ex: $Doc_Ref:=Open document("") If ($Doc_Ref#?00:00:00?) RECEIVE

v13 - where can I find a list of commands which are NOT allowed in a component?

2017-09-22 Thread Chip Scheide via 4D_Tech
and are the send and receive packet commands allowed? Thanks Chip --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ** 4D Internet Users Group (4D iNUG) FAQ:

v13 - COmponents and document references

2017-09-22 Thread Chip Scheide via 4D_Tech
It appears that a document opened in the host is unavailable in the component (when referenced by Document Reference). Can someone please confirm, or tell me what I am doing wrong. Thanks Chip --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing

Re: 4D v16.2 false record locks

2017-09-19 Thread Chip Scheide via 4D_Tech
I am not on this version of 4D 15 or 16 but what about the client time out? might this have an effect? On Tue, 19 Sep 2017 09:28:24 +0200, Koen Van Hooreweghe via 4D_Tech wrote: > Hi Jeff, > > FWIW. I had this once in one of the two sites running the same app. A > few days after converting

Re: Form with Custom Grow Box

2017-09-19 Thread Chip Scheide via 4D_Tech
having not done this this *might* work a button (picture probably) on mouse down - get current mouse/window coords on mouse up - get mouse position - resize window to that position On Tue, 19 Sep 2017 06:58:40 +, Piotr Chabot Stadhouders via 4D_Tech wrote: > Hi, > > I think I have read

Re: Query & Order by on non indexed fields

2017-09-14 Thread Chip Scheide via 4D_Tech
That functionality was available in through Data Check and/or Sanity Check (neither of which have been updated to work with any version of 4D newer then v2204(?)) On Thu, 14 Sep 2017 09:53:13 +0200, Andrew Hobson via 4D_Tech wrote: > Hello, > > I know there was a way to find all QUERY and

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. &g

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

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

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: 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: 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

[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: Drag & Drop challenge - developer wanted

2017-08-30 Thread Chip Scheide via 4D_Tech
; > >> On Aug 30, 2017, at 1:09 PM, Chip Scheide >> <4d_o...@pghrepository.org> wrote: >> >> 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) >

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

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 disru

Re: v13 on OS X 12.6

2017-08-29 Thread Chip Scheide via 4D_Tech
thers 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.4d.com> wrote: > >> I

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'

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

Re: Creating a document error -61 OS X

2017-08-21 Thread Chip Scheide via 4D_Tech
rary: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: >> ~:library:application

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

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

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>

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

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: 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

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: 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

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

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..

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

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