| DatabaseLessons.com |
'Serving the Microsoft® Access |
|
|
Creating MS Access Snapshot ReportsHave you ever used MS Access Snapshot Reports? Why would you? Let's say you need to send a report to someone who does not have Access on their computer. I propose 3 methods to my clients.
To create the snapshot version, once you have a report on the screen with the data you wanted, follow these steps (in Access 2000):
You can now email the .snp file to the intended recipinet. (article continues below sponsor spots) (article continues after sponsor spot) If you will be creating the same MS Access Snapshot Reports regularly, consider creating the report snapshot using some VBA code.
'----------------------------------------------------- The name of the access report refers to a saved, tested, report design. The name of the snapshot file must include path information, and the extension should be .snp. Leave the name out (just 2 commas in a row) and you will be prompted for the file name. Just remember to put the .snp extension on when prompted. The "True" will fire up the snapshot viewer afterwards, so you can be sure all worked properly. Change the True to False and it will not fire up the viewer. Which brings us to the snapshot viewer. On my machine's installation of Access 2000, the snapshot viewer was automatically put onto my system. If yours did not, and of course for your intended recipients who do not even have Access, you can download the viewer from the Microsoft site. Click here. The above web page also has documentation, including two great examples of how you can use the MS Access Snapshot Reports capability in real life applications. NOTE: All the VBA code segments on the Database Lessons site assume that you have DAO references active. If you are not sure what this means, and you are using Microsoft Access 2000 or higher, click here. Happy Coding |
|
|
© 2006, 2007, 2008 Richard W. Killey. All Rights Reserved. - Privacy Policy |