why blob field taken as calcfield

Hi everyone,

in a report suppose we have to print a picture in report. We have to use code like

create a variable as

Name DataType Subtype

Companyinfo record company information (table)

Companyinfo.get;

Companyinfo.calcfields(picture) ;

if u write like we can get a picture . but

why we are using Companyinfo.calcfields(picture) ;

can anybody tell me why this above line executed?

You use the CALCFIELDS Function (Record) to calculate the BlobField. A BlobField is a binary large object (maximum size 2 GB) and must be calculated if you want to use it in C/AL or display it in the application.