S
Sara
The button on this form (OrderForm) prints a copy of the order form and a
copy of a report called OrderConfirmation. Everything prints out just fine,
except the graphic on the OrderConfirmation report doesn't print. I have
checked the properties of the report header--it's set to print--and
everything else I can think of but it doesn't work. The funny thing is that
if I open the report and print it through the menu, the graphic prints fine!
Here's the code--I'm not really a programmer, so I used the wizard to write
this and then edited it. I'm using Access 2000.
Dim stDocName As String
Dim stWhere As String
stDocName = "OrderConfirmation"
stWhere = "[OrderID]=" & Me!OrderID
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.PrintOut acSelection
DoCmd.OpenReport stDocName, acPreview, , stWhere '
DoCmd.PrintOut acPrintAll, 1, 3, 2, 1
Sara
copy of a report called OrderConfirmation. Everything prints out just fine,
except the graphic on the OrderConfirmation report doesn't print. I have
checked the properties of the report header--it's set to print--and
everything else I can think of but it doesn't work. The funny thing is that
if I open the report and print it through the menu, the graphic prints fine!
Here's the code--I'm not really a programmer, so I used the wizard to write
this and then edited it. I'm using Access 2000.
Dim stDocName As String
Dim stWhere As String
stDocName = "OrderConfirmation"
stWhere = "[OrderID]=" & Me!OrderID
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.PrintOut acSelection
DoCmd.OpenReport stDocName, acPreview, , stWhere '
DoCmd.PrintOut acPrintAll, 1, 3, 2, 1
Sara