Hi,
1st, I followed your link to a Bob Larson post and I do not find anything. There's no text, no link to anything explaining the code tags.
The post is marked as Closed.
2nd, there is another sub that opens the report with;
Docmd.OpenReport MyReportName, acViewPreview, ...