views:

324

answers:

3

I'm working with delphi2009 and i really need to create a button that can print all my data in a dbgrid. I appreciate all the help i can get.

+2  A: 

Since it is a DB grid then you can create a report using any of the report components you have, or you can do without them by using the printers unit, by iterating over the data and print them using a printer.textout

Aldo
+1  A: 

Get TxcellentFormPrinter control below and then you can print the Entire Grid.

http://www.code4sale.com/joehecht/

Hope this helps.

mm2010
A: 

You may use the TSMPrintData component from SMReport Autogenerated suite: http://www.scalabium.com/smr