Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print a dbgrid

Status
Not open for further replies.

vaughanbez

Programmer
Oct 19, 2002
6
ZA
Friends ...

I need to print a dbgrid. The columns are generated by a select statement , so they can vary. How do i do this ?

Thank You.
 
aharris2693, build a datareport and then just pass the grid's underlying recordset to the datareport's datasource:

Set DataReport1.DataSource = Adodc1.Recordset
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top