PC Review


Reply
Thread Tools Rate Thread

automatically naming a report

 
 
Sarah
Guest
Posts: n/a
 
      23rd Mar 2010
Greetings to all

I don't really know if this is an Access question or a Windows one, but here
goes. My printer is set to default to a PDF writer - when I try to print a
document, the Windows 'Save As' window pops up and requests a file name.
Once this is entered, I click 'Save' to save the pdf file. All of this works
just fine.

Now, I have a form with textbox 'txtName', and a button 'Print'. I don't
know if this is possible, but I'd like to automate the naming of the
resulting pdf file. If the value in the txtName box is "D12" and if today's
date is March 23, 2010, I'd like the file name to be
"rpt_D12_100323.pdf".

This would save A LOT of time, so I'd be very happy to get some good advice.

thanks, Sarah


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
automatically naming the new tables I'm creating automatically... Boulder_girl Microsoft Access VBA Modules 2 17th Apr 2009 03:43 PM
Automatically Naming a document A_Classic_Man Microsoft Word Document Management 2 24th Jun 2008 06:07 AM
Naming files automatically grantschneider@gmail.com Microsoft Access Macros 1 25th Jul 2007 10:02 PM
automatically naming =?Utf-8?B?ZGM=?= Microsoft Access External Data 19 5th Jan 2006 12:14 AM
Automatically naming a tab =?Utf-8?B?amdh?= Microsoft Excel Misc 1 21st Dec 2004 03:30 PM


Features
 

Advertising
 

Newsgroups
 


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