If you're just wanting to print the visible contents of the grid on the form (in which case 10 of 20 fields, 12 of 100 rows may only be on show in the form) then you could output the graphics of the form to a TQRImage (or TQRPicture ?) on a QuickReport form.
Alternatively you could dynamically create a representation of the DBGrid using TQRShapes for vertical and horizontal lines, using TQRTexts or TQRDBTexts to output the data results on the page to preview. This method might get heavy if you have many columns but might be an ideal solution if you limit the number of columns to something like 5.
Hope that this helps.
Steve
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.