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!

DataReports and Printing

Status
Not open for further replies.

DMG2000

Programmer
Aug 13, 2000
52
0
0
US
I have an orders application that I would like to print out the unprocessed orders via a menu item. Do I need to make a DataReport based on this, or can I have a Print Command that prints all the records displayed in the app form?

Thanks!
 
Try the Printer object, with it you can avoid the report.
 
does this print all records retrieved, or just the current record?
 
Private Sub DataReport_Initialize()

With rptNwind ' Adjust size of report using screen measurements supplied by SysInfo control.
.Left = 1000
.Top = 1000
.Width = frmShowReport.sysInfo.WorkAreaWidth * 0.75
.Height = frmShowReport.sysInfo.WorkAreaHeight * 0.75
End With
End Sub

Eric De Decker
vbg.be@vbgroup.nl

Licence And Copy Protection AxtiveX.

Download Demo version on my Site:
Promotions before 02/28/2001 (free source codebook),visite my site
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top