Report PDF With Landscape Pages including tables

The following program produces the first horizontal page and in the following the table is inserted in a horizontal page.
Where's the mistake?

1 Comment

The following program produces the first horizontal page and in the following the table is inserted in a horizontal page.
Where's the mistake?
rpt = Report('TabellaStatisticheDelleOperazioni','pdf');
tp = TitlePage;
tp.Title = 'Stato e statistiche delle Operazioni';
tp.Author = 'Società ProSeF, del gruppo XYZ';
tp.Layout.Landscape = true;
add(rpt,tp);
ch1.Title = 'Tabella stato long e short';
tbl = Table(St);

Sign in to comment.

Answers (1)

I don't see any line in the code which is intended to add table to the report. Try adding the following line in your code
add(rpt,tbl ) ;
Go through this example for better understanding

Categories

Asked:

on 13 Jun 2020

Answered:

on 16 Jun 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!