To print link image from customer Table in Report

Hi All,

In Customer Card —> Edit → Link so here each link is attached to customer.My requirement is i have created one report and Data Item as Customer ,in report i need to print the images or links in report .So that Link Form table is Record Link. I have done that rite nw it is coming

Customer - OnAfterGetRecord():

RecordLinkRec.RESET;
cust1.GETTABLE(Customer);
cust:=cust1.RECORDID;
RecordLinkRec.SETRANGE(RecordLinkRec.“Record ID”,cust);
IF RecordLinkRec.FINDFIRST THEN
IF RecordLinkRec.Note.HASVALUE THEN
BEGIN
RecordLinkRec.Note.IMPORT(RecordLinkRec.URL1,FALSE);
RecordLinkRec.MODIFY(TRUE);
END;

But in this code i am getting error for Import function.Can anyone of you give me better solution for this issue .

Thanks&Regards,

Neha

Which error are you getting?

Are you trying to import the images in Table ??

Hi Neha,

Use calcfields() before importing image.

Cheers,

[;)]