i have one variable called "ClearPic" with datatype of BLOB. assume that the variable is holding some value of BLOB datatype. now i need to empty that variable and assign null value(i mean it should not have any value in that variable). so need to empty blob datatype.
0
Comments
P.S.: There is some difference between field and variable.
Fields.Type::BLOB:
BEGIN
FieldR.CALCFIELD;
FieldR1.VALUE:=FieldR.VALUE;
RecordR1.MODIFY;
Clear(CompanyTL);
CompanyTL.INIT;
FieldR.VALUE:=CompanyTL.Picture;
RecordR.MODIFY;
END;
i used that but no use
BEGIN
FieldR.CALCFIELD;
FieldR1.VALUE:=FieldR.VALUE;
RecordR1.MODIFY;
Clear(CompanyTL);
CompanyTL.INIT;
FieldR.VALUE:=CompanyTL.Picture; // here i need to make the blob data empty
RecordR.MODIFY;
END;
fieldr is fieldref datatype in that i need to make all the value of blob datatype to empty