Turns out it’s the Label Editor document MyLabel.4lb.
Isolating the Document to blob…
C_BLOB($blob)
$vhDocRef:=Open document("")
If (ok=1)
CLOSE DOCUMENT($vhDocRef)
DOCUMENT TO BLOB(document;$blob)
end if
If I open MyLabel.4lb, I get zero octets. If I open a text document I get the
document.
MyLabel.4lb was created using the Save button in the Label Editor.
Looks like a bug to me. Could someone test this on their end? I am using 4D v16
R5 32bit on Mac OS 10.13.2.
Thanks,
John
> On Mar 22, 2018, at 12:28 AM, Keisuke Miyako via 4D_Tech
> <[email protected]> wrote:
>
> Hello,
>
> is the context relevant?
>
> I mean, if you simply run DOCUMENT TO BLOB in a single line,
> in a new method, with the path hard coded, does it still not work?
>
>
>
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ: http://lists.4d.com/faqnug.html
> Archive: http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub: mailto:[email protected]
> **********************************************************************
John Baughman
Kailua, Hawaii
(808) 262-0328
[email protected]
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************