the print dialog box does not show up when i click the print icon

the print dialog box does not show up when i click the print icon

Post by Y2hlbGxlMT » Fri, 20 Apr 2007 23:24:00

I am trying to give the user the capability to print either the current
record, a range of record or all the records in the database, but I cannot
seem to find the print icon on the custom menus that will display the dialog
box so that the user can make their selection,,

 
 
 

the print dialog box does not show up when i click the print icon

Post by SmltIEJ1cm » Sat, 21 Apr 2007 23:38:01

Is there a reason you want to print straight from the form rather than print
a report? I would just create a simple report based on the data that the form
is based on (uisng the report wizard) and have a Print button on the form. In
the Print button's OnClick event proc put the statement DoCmd.OpenReport
"rptName", acViewPreview. Opening the report in preview mode displays the
report on the screen and allows you to open the dialog where you can specify
the pages to print. Just make sure the report is ordered in the same way as
the data for the form.