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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to print a grid?

Status
Not open for further replies.

Coolprogram

Programmer
Nov 9, 2011
15
LT
Can anyone explain me how to print a grid . As i have not found a way to print it.
 
As Mike says there's no native way to print a grid..... but here's a routine that may help; it modifies a template frx to match the controlsource, width and position of each column in a grid. Limited to 9 columns.

use it like this

=autoreport(thisform.mygrid,"my title")


download here
sorry... i haven't tested since i just lifted it out of its usual environment (it makes a lot of assumptions) but it should get you started.

Someone else (Doug Hennig perhaps?) once did an object orientated report generator that might also prove useful (especially if you need more than 9 columns).

hth

nigel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top