Hi there
Just a short tutorial.
1)Create a new QuickReport Form, or just add a TQuicRep to an existing Form.
2)Set the DataSet property of the QuickRep to point to the table you would print out.
3)Set the Bands -> HasDetail property to true.
4)Now to add the fields you want to print, place a QRDBText component on the detail band, you would place one of each of these for every field. Set the DataSet and DataField properties.
6)You can preview a report during designtime by right clicking on the QuickRep and clicking the preview option or to preview or print during runtime ,
{Make sure the table you want to print from is open/active}
Table1.Active:=true;
{To Preview}
QuickRep1.Preview;
{To Print}
QuickRep1.Print;
Thats it , you now have a simple report from the table.
For more info checkout this great resources,
Hope this helps.
P.S
There are some report engines that make it very simple to create a report from a DBGrid,
PrintDat -
QR 2+3 PowerPack -
SMReport Autogenerated -
And some other great report engines, both of these offer freeware versions,
FreeReport/FastReport -
GmPrintSuite(Pro and Lite) -