Unanswered: Printing a Report directly from a Form
I have an input form that I would like to print from using a report. I would like to click on a button on my input form and have it automatically print the new record that I entered. I would like to bypass print preview and print directly to the printer.
Here is the code I am using. The problem with this code is that the report opens in the print preview mode and does not display the record that I entered.
Private Sub Print_New_WO_Report_Button_Click()
On Error GoTo Err_Print_New_WO_Report_Button_Click
click on Openreport the press F1 this will tell you all you need to now
hope this help
See clear as mud
the aim is store once, not store multiple times
Remember... Optimize 'til you die!
Progaming environment: Access based on my own environment: DAO3.6/A97/A2000/A2003/A2007/A2010 VB based on my own environment: vb6 sp5 ASP based on my own environment: 5.6 VB-NET based on my own environment started 2007 SQL-2005 based on my own environment started 2008 MYLE YOUR PASSWORD IS JUST LIKE YOUR TOOTHBRUSH DON'T SHARE IT.