Print a Snp File

G

Guest

I have a command button that contains:
Dim stDocName As String

stDocName = "Not Completed JMC"
DoCmd.OpenReport stDocName, acNormal

It prints out a page, however I want to change that and print a SNP file and
also give the user a dialog box as to where the user would like to store/save
it.
Thanks
 
C

Carl Rapson

bladelock said:
I have a command button that contains:
Dim stDocName As String

stDocName = "Not Completed JMC"
DoCmd.OpenReport stDocName, acNormal

It prints out a page, however I want to change that and print a SNP file
and
also give the user a dialog box as to where the user would like to
store/save
it.
Thanks

If you change acNormal to acPreview, the report will print in a window on
the screen. Users can then right-click on the report and choose Export...
and save the report as a .SNP file.

Carl Rapson
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top