Re: v13 - Record to Blob?

2018-07-31 Thread Chip Scheide via 4D_Tech
I considered this approach - but the need is for data passing between processes, so writing to disk is not really 'efficient'. I went/am going with a simple convert it all to text approach. The data will not need to deal with blobs, or pictures so this will do for now. On Tue, 31 Jul 2018

Re: v13+ Unicode characters 1-7

2018-07-31 Thread Benedict, Tom via 4D_Tech
Keisuke Miyako writes: >.. may I suggest VT (vertical tab, Char(11)) which displays at \v in the >debugger. > >when you export the values tab-delimited, >vertical tabs fits all values in the same cell (multi-line). > >not sure about Excel, but at least it should be that way with Numbers

Re: v13+ Unicode characters 1-7

2018-07-31 Thread Jeremy Roussak via 4D_Tech
Chip Are you absolutely constrained to use a single character? Just a thought. Jeremy > On 30 Jul 2018, at 20:01, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I am trying to find a character I can use as an internal (to my > program) data separator which will not be

Non-Blocking Socket Operation

2018-07-31 Thread Stephen J. Orth via 4D_Tech
Hello, I received the following message: A non-blocking socket operation could not be completed immediately The line number it referenced was the second line of the following query statement: QUERY([Database_Action];[Database_Action]Action_Code="EMAIL";*)

Re: v13 - Record to Blob?

2018-07-31 Thread Plist via 4D_Tech
Hi Rudy, Send Record Document to Blob is less work. :) Peter Am 31.07.18 um 17:18 schrieb Two Way Communications via 4D_Tech: It’s fairly easy to write a method that loops through all the fields of the record and puts them into a blob. (variable to blob) Then, on the other end, use same

Re: v13 - Record to Blob?

2018-07-31 Thread Chip Scheide via 4D_Tech
yes - but I was mistaken about the end use.. end use is for archiving deleted records. record formats may change, and blob data is not user readable On Tue, 31 Jul 2018 17:18:03 +0200, Two Way Communications via 4D_Tech wrote: > It’s fairly easy to write a method that loops through all the

Re: v13 - Record to Blob?

2018-07-31 Thread Two Way Communications via 4D_Tech
It’s fairly easy to write a method that loops through all the fields of the record and puts them into a blob. (variable to blob) Then, on the other end, use same method but ‘BLOB to variable’ Works really well. Rudy Mortier Two Way Communications bvba > On 31 Jul 2018, at 16:11, Chip

RE: Changes to variable initialization in v16?

2018-07-31 Thread Timothy Penner via 4D_Tech
In addition to what has already been said - Using a compilation path of "All variables are typed" is highly recommended: http://kb.4d.com/assetid=50223 -Tim ** 4D Internet Users Group (4D iNUG) Archive:

Changes to variable initialization in v16?

2018-07-31 Thread Noah via 4D_Tech
Good afternoon, We are in the process of converting an application from 15 to 16 and one of the first errors that we have encountered came from a line that was setting the query destination into a variable. The variable was declared in the on Load form event, and this code has worked without a

Re: Changes to variable initialization in v16?

2018-07-31 Thread Keisuke Miyako via 4D_Tech
the location of the declaration only matters in interpreted mode, where variable are untyped by default and typed on demand. by contrast, in compiled mode, all variables are typed during compilation, by scanning all occurrences of C_@ commands. it doesn't matter if the declaration is conditional

Re: ORDA question: how do I add related fields to an entity selection?

2018-07-31 Thread Jeremy French via 4D_Tech
Hi Julio, Have you looked at: http://doc.4d.com/4Dv17/4D/17/dataClassAttributerelatedDataClass.303-3884018.en.html Relation attributes have 3-properties: 1) kind 2) name 3) relatedDataClass The "kind" property tells you the type of relation: one or many. The "name" property is the name you

FW: UTF-8 and SEND HTML FILE with Tags

2018-07-31 Thread David Garrard via 4D_Tech
I have a 'good news' update on this. With a work-around I was able to get this working. It seems that there is a bug in placement of multiple instances of Thai language text - such as headers in a multi-cell table sent to a web browser by 4D Web Server using a single 4DHTML tag for the whole

Re: v13 - Record to Blob?

2018-07-31 Thread Arnaud de Montard via 4D_Tech
> Le 30 juil. 2018 à 21:56, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > I thought about that... > just wondering if there was something native I missed. I use this: It's old, needs to be adapted for object fields.

Re: v13 - Record to Blob?

2018-07-31 Thread Koen Van Hooreweghe via 4D_Tech
Hi Chip, No native command as you might have learned from the answers on your post. Not too difficult to implement yourself. Below is what I've been using for a long time. I just noticed that I did not delete the intermediate disk document, but if untouched, the files in the temporary folder

Re: ORDA question: how do I add related fields to an entity selection?

2018-07-31 Thread Julio Carneiro via 4D_Tech
Interesting Miyako, but that only tells me I have a relation attribute and that relation’s name. It does not tell me if it is a relations between A and B, or A and C. Is there a way to get that? And there is one key member function missing that tells me to which Table an Entity or Entity

Re: ORDA question: how do I add related fields to an entity selection?

2018-07-31 Thread Keisuke Miyako via 4D_Tech
I suppose it could be "nice" to have such a feature, indeed there were hints on the forums that it is in the pipeline, but I think it is important to stop and consider why the feature is not available at this point in time. code is never tokenised in ORDA. as developers, we should embrace it,