A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Adding a Save to file button



 
 
Thread Tools Display Modes
  #1  
Old March 6th, 2005, 09:53 AM
Kyle
external usenet poster
 
Posts: n/a
Default Adding a Save to file button

The Order form of the Northwind sample database from MS
Access, is there a way to add a Save button for user to
click on and save the order invoice into a snapshot file to
a directory of C:\OrderInvoice\.
If anyone have a sample code for this save button handy and
don't mind to post in this group would be appreciated.
  #2  
Old March 6th, 2005, 07:38 PM
Steve Schapel
external usenet poster
 
Posts: n/a
Default

Kyle

Change the Record Source of the Invoice report to Invoices Filter
instead of Invoices.

Then your code will be like...
DoCmd.OutputTo acOutputReport, "Invoice", "SnapshotFormat(*.snp)",
"C:\YourFolder\YourFile.snp"

--
Steve Schapel, Microsoft Access MVP


Kyle wrote:
The Order form of the Northwind sample database from MS
Access, is there a way to add a Save button for user to
click on and save the order invoice into a snapshot file to
a directory of C:\OrderInvoice\.
If anyone have a sample code for this save button handy and
don't mind to post in this group would be appreciated.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems saving to offline folder JuanR Powerpoint 6 December 22nd, 2004 07:29 PM
macro to save rtf file as txt reballdad General Discussion 1 December 20th, 2004 10:17 PM
Jet35.sp3 doglover Database Design 3 August 26th, 2004 04:41 PM
Office 2003 uninstall/reinstall problems Jerryn3 Setup, Installing & Configuration 2 August 2nd, 2004 03:39 PM
You do not have exclusive access... ERROR Robin General Discussion 1 July 6th, 2004 01:18 AM


All times are GMT +1. The time now is 11:40 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.