Salesforce

Blb2File (Magic xpi 4.5)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Blb2File (Magic xpi 4.5)

Saves a BLOB object to a file.

Syntax:

Blb2File (BLOB blob, Alpha file name)

Parameter:

blob: Variable. The source information in a BLOB variable.

file name: Alpha file name. The file that will contain the BLOB information.

Returns:

Logical: True if successful.

Example:

Blb2File(F.var1, 'C:\bfile.blb') saves the content of a BLOB variable, F.var1, to a file named bfile.blb on the C drive and returns True if successful.

See also:

File2Blb

Note:

If the BLOB is Binary or Ansi, the content of the file will be identical to the content of the Binary BLOB.

If the BLOB is Unicode, a BOM will be appended to the beginning of the file to indicate that this is a Unicode file. (The Unicode Blob contains no BOM since the container already knows that it is Unicode.)

Reference
Attachment 
Attachment