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 » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

automatically naming a report



 
 
Thread Tools Display Modes
  #1  
Old March 23rd, 2010, 11:04 PM posted to microsoft.public.access.reports
sarah
external usenet poster
 
Posts: 633
Default automatically naming a report

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


 




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


All times are GMT +1. The time now is 01:55 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.