KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Storing 4D Write Pro object as a blob
PRODUCT: 4D | VERSION: 17 | PLATFORM: Mac & Win
Published On: November 15, 2018
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

4D Write Pro is a 4D object. It can be stored with C_OBJECT type variables as well as in an Object Field of a table. It can also be stored as a blob with the command WP EXPORT VARIABLE. The command can save the 4D Write document as the ".4dwp" format. Here are examples of storing a 4D Write Pro object as a blob:

Example #1: Storing in a blob variable.

C_BLOB($blob)

WP EXPORT VARIABLE(WriteProArea;$blob;wk 4wp)


Example #2: Storing in a blob field.

WP EXPORT VARIABLE(WriteProArea;[Table_1]Field_blob;wk 4wp)


See Also: