Page 1 of 1

Print all data within Data grid

Posted: Thu Apr 07, 2011 12:34 pm
by bsouthuk
Hi

I wonder if someone can help me with the print function.

I need to be able to print everything that is displayed on a card and also all of the data that is displayed inside a datagrid. Problem is that if there are hundreds of records/lines within a datagrid not all the data will be displayed. And not all the data can fit on 1 page

Is there a way that I can code it so if the data in a datagrid exceeds 1 page that it can continue on another page?

Re: Print all data within Data grid

Posted: Thu Apr 07, 2011 2:10 pm
by dunbarx
What happens if you get the dgText, and use revPrintText?

Re: Print all data within Data grid

Posted: Thu Apr 07, 2011 2:13 pm
by bsouthuk
I'm not sure - that means absolute nothing to me!

Re: Print all data within Data grid

Posted: Thu Apr 07, 2011 2:22 pm
by bsouthuk
I get it now. I have tried

Code: Select all


revPrintText the dgText of group "DataGrid" 
And this displays all of the text within the datagrid and creates more pages. However, the tabs are all over the place and I also need the everything else that surrounds the datagrid to be printed also...

Re: Print all data within Data grid

Posted: Thu Apr 07, 2011 3:32 pm
by Klaus
Hi Daniel,
bsouthuk wrote:I'm not sure - that means absolute nothing to me!
"DataGrids" are HIGHLY complex beasts and you should first do some reading to get the basics!
Otherwise you will get lost pretty soon 8)

Check this out:
http://lessons.runrev.com/spaces/lesson ... s/datagrid

You can load the complete DataGrid PDF Manual there and check the lessons
to get a "feel" for this beast.


Best

Klaus