Re: Blob to Record

2017-08-03 Thread Jörg Knebel via 4D_Tech
Hi Chip, > On 3 Aug 2017, at 04:20 AEST, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > is there simple way to move an entire (arbitrary) record to a blob? Maybe you should take a look at ObjectTools commands OT PutRecord / OT PutRecord / OT GetRecordTable. Cheers Jörg

JSON/objects and two-dimensional arrays

2017-08-03 Thread Epperlein, Lutz (agendo) via 4D_Tech
> JSON Validate, Collections and a NULL command! > > http://blog.4d.com/en-whats-new-in-4d-v16-r4/ Nice improvements. Unfortunately they didn't remove the limitation of the OB SET ARRAY command regarding the support of two-dimensional arrays. At least the docs say: > Note: It is not possible

Re: Blob to Record

2017-08-03 Thread John DeSoi via 4D_Tech
It would be very handy for a lot of different reasons. A few months ago, I added a feature request for it: http://forums.4d.com/Post/EN/17757394/1/17757395#17757395 Please vote for it if you think it would be useful. John DeSoi, Ph.D. > On Aug 3, 2017, at 8:45 AM, Chip Scheide via 4D_Tech

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

Web Site Security - Observatory by Moziila

2017-08-03 Thread Jim Hays via 4D_Tech
We have been working on making our web product more secure, and customer's security testing was giving us a hard time. I recently found this: https://observatory.mozilla.org/ It will test your site, and offer step by step advice on making it more secure. It's easily the most understandable

RE: Encrypted Data at Rest

2017-08-03 Thread Bruno LEGAY via 4D_Tech
Hi, This is an interesting subject... I would say it depends on what you want to protect from and how deep are your pockets... As people said, it is difficult to encrypt the whole 4D database without encryption being supported at the database engine level... At the moment 4D does not support

Re: Encrypted Data at Rest

2017-08-03 Thread Jody Bevan via 4D_Tech
Richard: Hardware acceleration in the CPU is still not nearly as fast as this task being done by the drive controller. All software runs through the CPU. Yes, the CPU can support specific types of code which helps. Just like GPUs, the advanced support in the drive controllers makes a big

Re: External data storage question

2017-08-03 Thread Jody Bevan via 4D_Tech
John: We did this big time long before 4D permitted it autosaving the ‘picture’ outside of the data file that they looked after. Therefore we had to look after the saving, and when loading up the form we had to look after retrieving the ‘picture’ as well. It sounds like you have done almost

Re: External data storage question

2017-08-03 Thread David Adams via 4D_Tech
John, Ouch. That definitely sounds like a bug to me, so I'd say file it wherever you're meant to. I think that's on the beta release forum in France. I can't offer any real help because the only time I've used the external feature for lots of pictures, we went with letting 4D manage where to put

Re: External data storage question

2017-08-03 Thread John Baughman via 4D_Tech
> On Aug 3, 2017, at 1:45 PM, Jody Bevan via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > With what you have done now, how does 4D know the path of the document > (picture) that you saved. Jody, With custom pathname you use the command SET EXTERNAL DATA PATH and the path is saved

Re: External data storage question

2017-08-03 Thread John Baughman via 4D_Tech
He David, > Ouch. That definitely sounds like a bug to me, so I'd say file it wherever > you're meant to. I think that's on the beta release forum in France. Yep. I am nearly convinced that his is beta bug. I have already found a couple of other bugs and reported them. I will wait a bit

Re: Blob to Record

2017-08-03 Thread Chip Scheide via 4D_Tech
THANKS Actually, I'm not trying to do anything with this - at the moment. I am working on a component for managing text, and a couple of routines do records to text and record to blob/text, with the idea (no specific implementation intent) of exporting to some other program/database. I was

Re: Blob to Record

2017-08-03 Thread Koen Van Hooreweghe via 4D_Tech
Hi Chip, It depends on what you want to try to achieve with that command. I’m using the code below to copy a complete 4D record binary into a blob. But the only thing you normally can do with the resulting blob is to put it back into a record. AFAIK this is also the case with the API Pack (and