Access VBA Preview / Printing Report
Posted on 2008-10-14
I have a report which i want to create 2 buttons 1 to preview the report and the other to print the report in 1 click ie print to deafult printer and based on page ranges saved in table.
i have the below code to preview but don't know how to get that to print. In 2007 how do you convert a macro to vba code
DoCmd.OpenReport "rpt_printorders", acViewPreview