Hi,
I need to add terms and conditions at the end of reports.
- I created a new table with Mediaset field.
- I created a page to load the html files (terms and conditions) into the table.
- In my Report Extension, I added Mediaset field.
Display the field "Description" from my custom table works well, but I am not able to display my html in the RDLC.
When I print in Excel Data only format, I get "Binary data (111 bytes)".
Please, how to display the mediaset field (html) in the RDLC?
Thanks in advance for your kind reply,
RDLC:
=Fields!cgvImage.Value
Report Extension:
column(cgvDescription; Media_Table.Description) { }
column(cgvImage; Media_Table.Image) { }
trigger OnPreReport()
begin
Message('Hello ! OnPreReport seb');
CompanyInformation.get;
Media_Table.get('CGV_TITLE');
end;
Table:
table 50100 MediaTable
{
Caption = 'MediaTable';
DataClassification = ToBeClassified;
fields
{
field(1; Code; Code[10])
{
Caption = 'Code';
DataClassification = ToBeClassified;
}
field(2; Image; MediaSet)
{
Caption = 'Image';
DataClassification = ToBeClassified;
}
field(3; Description; Text[100])
{
Caption = 'Description';
DataClassification = ToBeClassified;
}
}