I am preparing to export the data of a 4D Database (version 11) to a MySQL database.
The 4D field is a picture field with a 4D Write document saved in it. I can see that a document is stored in the picture field (when exported to MySQL blob), but most of the documents are so old that 4D generates an error "Unknown document type" when the document is trying to be loaded in 4D.
I am guessing that the original 4D Write document was created in a much older version of 4D Write which the newer version of 4D Write can't read.
It's sad, because I can read the document when I export the picture to a blob in MySQL.
Newer documents can be migrated using the following:
$Area:=WR New offscreen area
WR PICTURE TO AREA ($Area;[Notes]Note_)
However, the older "unreadable" documents generate a 4D Write error 1022.
Data in MySQL when viewed as text looks like this:
And when viewed as a picture (using Sequel Pro), the document is formatted and perfectly readable.
Not looking for a formatted document, just text with paragraphs (carriage returns).
Any ideas?