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

printing a dbgrid

Status
Not open for further replies.

samantha72

Programmer
Jul 31, 2001
14
0
0
CA
I have to print the entire contents of a dbgrid
what i have done is created a new form with a grid populated on it and
when the user presses a button, i load the form and print it
eg
when the cmdPrint is clicked

load(frmGrid)
frmgrid.printform

end sub

but this is not working

any ideas
 
I tried what you have in your post, and get an error like invalid property value. Get rid of the () in the load statement and it should work. load frmgrid is what you should have
Dragnut
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top