Appearance
CreateBlobValue
Declaration
Function CreateBlobValue( S : string; L : integer) : Variant
Example
pascal
procedure OnMapEvent(var Value:Variant);
var MyString : string
begin
MyString := 'Hello this is a test';
Value := CreateBlobValue(MyString,0); //use this when Value is for a BLOB/MEMO type field
end;Description
CreateBlobValue returns a BLOB stream created from S that can be saved into a BLOB or MEMO type field. If L is provided it designates the length of the blob stream field. If L is not provided then it will create a BLOB stream that is large enough to hold all of S.