WR Area to blob

4D - Documentation   Français   English   German   4D Write, Command Theme List   4D Write, Command Alphabetical List   4D Write, Constant Theme List   Back   Previous   Next

version 6.5


WR Area to blob (area{; savedDoc}) BLOB

ParameterTypeDescription
areaLongint4D Write area
savedDocInteger1=If document is not saved, no dialog
0=If document is not saved, the dialog is displayed
Function resultBLOBContents of area

Description

The WR Area to blob command places the contents of the area referenced by area into a BLOB field or variable. WR Area to blob returns a Blob that can be assigned to a BLOB field or a BLOB variable.

• If savedDoc equals 0, and the document has been modified since it was last saved, a dialog will be displayed asking the user if they wish to save the document.

• If savedDoc equals 1, the document will be considered as saved and the user will not be prompted to save it.

• If savedDoc is omitted, default settings will be applied.

Example

You want to save Area in the BLOB field "WriteBlobSave" :

   [Texts]WriteBlobSave:=WR Area to blob(Area;1)

See also

WR Area to picture, WR BLOB TO AREA.


4D - Documentation   Français   English   German   4D Write, Command Theme List   4D Write, Command Alphabetical List   4D Write, Constant Theme List   Back   Previous   Next