RE: Encrypt Blob issue - nevermind

2019-03-28 Thread Chip Scheide via 4D_Tech
The table for which an encryption key pair was *supposed* to have been generated and saved (in the trigger - so it would always happen...). The trigger check boxes in the structure were not on. So the trigger was never called, and the key pair was never created. When I tried to encrypt a blob

RE: Encrypt Blob issue

2019-03-28 Thread Vance Villanueva via 4D_Tech
Hi Chip, Can you try the following code to see if this works for you? // === C_TEXT($pkey) C_BLOB($blob;$vtEncrypted;$blob2) QUERY([Table_1];[Table_1]ID=2) $pkey:="2132329" $blob:=[Table_1]Field_blob TEXT TO BLOB($pkey;$blob2) VARIABLE TO