Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access thread: Print to file not paper (VBA syntax)?


Message #1 by "Silas Wild" <SILAS@d...> on Thu, 29 Aug 2002 18:09:21 -0700
I'm using:

DoCmd.OpenReport "WriteEmployeetoPDF", acViewNormal, , "[id]=" &
12345678

and Adobe Distiller is my printer.  How do I add a parameter or
parameters to specify where to save the file?
Do I need more than the file location parameter, perhaps the equivalent
of clicking "ok"?

Message #2 by khyamuddin_basheer@a... on Fri, 30 Aug 2002 18:25:00 -0700
     Try using a Marco instead of docmd.
     
     rgds
     khyam
     apl


______________________________ Reply Separator _________________________________
Subject: [access] Print to file not paper (VBA syntax)? 
Author:  Access <access@p...> at Internet-gateway
Date:    8/29/2002 6:09 PM


I'm using:
     
DoCmd.OpenReport "WriteEmployeetoPDF", acViewNormal, , "[id]=" & 
12345678
     
and Adobe Distiller is my printer.  How do I add a parameter or 
parameters to specify where to save the file?
Do I need more than the file location parameter, perhaps the equivalent 
of clicking "ok"?
     
     
     
     



  Return to Index