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

Printer Setup

Status
Not open for further replies.

mrholtsr

Programmer
Dec 3, 2001
18
US
I am working on a program to inventory my personal library. What code should I use to get the printer to pring all the records instead of one at a time. I have code that tells it to print the open table, but even if the grid with all the records is open the printer will still print only one record per page. Thanks, Ray Holt
 
Show us your code so we've got a clue!
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'People who live in windowed environments shouldn't cast pointers.'
 
The following is the Code:
Private Sub mnuFile Print_Click
'To Do
'MsgBox "Print Code goes heer"
dlgCommonDialog.Show.Printer
'frmMain.ActiveForm.Print Form
frmHoltbook.Print Form
frmDataGrid.Print Form
Printer.EndDoc
End Sub
 
Your code seems to run for me when I take the space out between Print and Form
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'People who live in windowed environments shouldn't cast pointers.'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top