docs

Home Getting Started Browse by Category Class Methods Low-Level API

LoadBlob

Loads exact stored document bytes from a selected Clarion BLOB field.

Clarion class declaration

LoadBlob PROCEDURE(*FILE pFile,LONG pFieldNumber),LONG

Purpose

Loads exact stored document bytes from a selected Clarion BLOB field.

Parameters

Parameter Type Description
pFile *FILE Clarion FILE that owns the selected BLOB field.
pFieldNumber LONG Negative FILE property index for the target BLOB field.

Return value

Returns ProTOML:OK on success or a negative ProTOML error code. Call GetLastError for readable details.

Example (Clarion)

RetCode LONG

CODE
DMO:RecordId = 1
GET(DemoFile,DMO:StorageKey)
RetCode = Toml.LoadBlob(DemoFile,DMO:TomlBlobIndex)

Notes

Home Getting Started Browse by Category Class Methods Low-Level API