Show picture in report

Dear All,

I need your help to solve an issue : In my company information I add (import) a logo (Picture) and in some report I need to see this picture but I can not see it.

In picturebox I add in SourceExp property the value CompanyInfo.Picture but I can’t see this picture in the report.

What can I do to see it?

Kind regards

Pajus

Which version are you using?

Classic/RTC?

Check whether you have code like

CompanyInfo.GET;

in OnPreReport trigger.

Hi,

Thank you for your feedback. I use Microsoft Dynamic Nav 2009 R2. Version W1 5.0 SP1

Regards

Pajus

And verify also to have CompanyInfo.CALCFIELDS(Picture) after getting the record.

Dear,

According the code below, what is wrong? Because until now it is not working.

Purchase Header - OnAfterGetRecord()
CurrReport.LANGUAGE := Language.GetLanguageID(“Language Code”);

CompanyInfo.GET;

Regards

Pajus

Please find below the code I used

Purchase Header - OnAfterGetRecord()
CurrReport.LANGUAGE := Language.GetLanguageID(“Language Code”);

CompanyInfo.GET;
CompanyInfo.CALCFIELDS(Picture);

Regards

Pajus

Dear,

Thank you. It’s working now.

Thanks

Pajus