I'm using this code to printer a report. But I don't want the user to have to select the printer. Just print to his/her default printer. How can this be done?
Here's my current code:
DoCmd.OpenReport "rptInboundRecord", acViewPreview, , "[ID]=" & Me.txtID, acHidden
DoCmd.Close acReport, "rptInboundRecord", acSaveNo