4D v13

WR Area to blob

Home

 
4D Write v13
WR Area to blob

WR Area to blob 


 

WR Area to blob ( area ; savedDoc ) -> Function result 
Parameter Type   Description
area  Longint in 4D Write area
savedDoc  Integer in 1=If document is not saved, no dialog 0=If document is not saved, the dialog is displayed
Function result  BLOB in Contents of area

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)

 
PROPERTIES 

Product: 4D
Theme: WR Areas
Number: 89444

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D Write 6.5

 
SEE ALSO 

WR Area to picture
WR BLOB TO AREA