Cloning card with datagrid
Posted: Wed Aug 28, 2013 4:28 pm
Hi,
I have to create a PDF with many page, every page has it's own datagrid with 2 columns (named "Decrizione" and "Importo").
The first page is the master page, all other pages are cloned from the first one. The problem is that all cloned page has the label of the columns inverted (data are in the correct order
), but only the first (master) page is ok. Since all other elements and the data loaded in the datagrid are ok, I don't know what is wrong
Moreover I use the master page and add data in it like in all others..
I use the following code to load data in the data grid in every page cloned:
Here is the results:

Any ideas?
I have to create a PDF with many page, every page has it's own datagrid with 2 columns (named "Decrizione" and "Importo").
The first page is the master page, all other pages are cloned from the first one. The problem is that all cloned page has the label of the columns inverted (data are in the correct order


Moreover I use the master page and add data in it like in all others..
I use the following code to load data in the data grid in every page cloned:
Code: Select all
clone this card
put 1 into n #line counter
repeat for each line riga in tRecords
put the first item of riga into myArr[n]["Descrizione"]
put the second item of riga into myArr[n]["Importo"]
add 1 to n
end repeat
set the dgData of group "voci" to myArr
delete variable myArr

Any ideas?