I have the following code:
DoCmd.OutputTo acOutputReport, "rptBreakdown10Snapshot", acFormatSNP, ReportFinal
It worked in 2003 but now I can't get it to work in 2007. I keep getting the following error. I have tried downloading the snapshot view and adding it to my reference library in Access 2007 and it still will not work.
Run-Time error '2501':
The OutputTo action was canceled.