PC Review


Reply
Thread Tools Rate Thread

Automatically run a timed report

 
 
=?Utf-8?B?c3RlcGhlbnNvbjIy?=
Guest
Posts: n/a
 
      7th Nov 2006
I would lke to generate a report every month automatically without human
intervention. I've heard of things such as CRONs that run on servers - can
something similiar be used to fire up MS Access on a specific time and
produce a report - then, for the Gold star - e mail the report to recipiants.

I was thinking on the lines of using a Windows task schedule to run MS
Access, then use a macro to automatically generate a report, but how does the
e-mail part work.

I can transfer a report into .pdf automatically. Im guessing Im almost
there (in theory) - but not quite!

Can anyone help?

--
Learning SQL and Access
 
Reply With Quote
 
 
 
 
=?Utf-8?B?ZnJlYWthemV1ZA==?=
Guest
Posts: n/a
 
      7th Nov 2006
Hi,
check this current discussions for pointers on things you are trying to
achieve as well:

http://www.microsoft.com/office/comm...5-4c3f00ff595e

The PDF part will be a problem. Current Access editions do not support the
PDF format. Access 2007 will natively support it, but for now you need to
implement a workaround.
If you have a pdf driver installed you can change the printer at runtime
(using the Printer object if you are using Ac2002 or higher) to print out a
file with it...if you don't then you can implement an automation method using
the free ghostscript or have a look at this nice solution:

http://www.lebans.com/reporttopdf.htm

You would then need to use automation (since the sendobject method can't
attach external files) to create an email and attach the file.
If you don't care about the file type of the report then just use the
sendobject method and attach the report as snp (snapshot format which will
also retain the exact format of the report, but requires the free snapshot
viewer to be installed to view the report) or rtf (rich text format which
might lose some graphical things if you have them on your report).
Finally you might also find this article helpful:

http://support.microsoft.com/kb/230575

HTH
Good luck
--
Oli-S
Admin Specialist & Computer Science Major @ UMD - Go Terps -
http://www.oli-s.de


"stephenson22" wrote:

> I would lke to generate a report every month automatically without human
> intervention. I've heard of things such as CRONs that run on servers - can
> something similiar be used to fire up MS Access on a specific time and
> produce a report - then, for the Gold star - e mail the report to recipiants.
>
> I was thinking on the lines of using a Windows task schedule to run MS
> Access, then use a macro to automatically generate a report, but how does the
> e-mail part work.
>
> I can transfer a report into .pdf automatically. Im guessing Im almost
> there (in theory) - but not quite!
>
> Can anyone help?
>
> --
> Learning SQL and Access

 
Reply With Quote
 
=?Utf-8?B?c3RlcGhlbnNvbjIy?=
Guest
Posts: n/a
 
      8th Nov 2006
Absolutely brilliant.

Thank you.
--
Learning SQL and Access


"freakazeud" wrote:

> Hi,
> check this current discussions for pointers on things you are trying to
> achieve as well:
>
> http://www.microsoft.com/office/comm...5-4c3f00ff595e
>
> The PDF part will be a problem. Current Access editions do not support the
> PDF format. Access 2007 will natively support it, but for now you need to
> implement a workaround.
> If you have a pdf driver installed you can change the printer at runtime
> (using the Printer object if you are using Ac2002 or higher) to print out a
> file with it...if you don't then you can implement an automation method using
> the free ghostscript or have a look at this nice solution:
>
> http://www.lebans.com/reporttopdf.htm
>
> You would then need to use automation (since the sendobject method can't
> attach external files) to create an email and attach the file.
> If you don't care about the file type of the report then just use the
> sendobject method and attach the report as snp (snapshot format which will
> also retain the exact format of the report, but requires the free snapshot
> viewer to be installed to view the report) or rtf (rich text format which
> might lose some graphical things if you have them on your report).
> Finally you might also find this article helpful:
>
> http://support.microsoft.com/kb/230575
>
> HTH
> Good luck
> --
> Oli-S
> Admin Specialist & Computer Science Major @ UMD - Go Terps -
> http://www.oli-s.de
>
>
> "stephenson22" wrote:
>
> > I would lke to generate a report every month automatically without human
> > intervention. I've heard of things such as CRONs that run on servers - can
> > something similiar be used to fire up MS Access on a specific time and
> > produce a report - then, for the Gold star - e mail the report to recipiants.
> >
> > I was thinking on the lines of using a Windows task schedule to run MS
> > Access, then use a macro to automatically generate a report, but how does the
> > e-mail part work.
> >
> > I can transfer a report into .pdf automatically. Im guessing Im almost
> > there (in theory) - but not quite!
> >
> > Can anyone help?
> >
> > --
> > Learning SQL and Access

 
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 generate email message with timed send sbitaxi@gmail.com Microsoft Outlook 0 27th Apr 2007 08:13 PM
Timed Login & Timed shutdown =?Utf-8?B?RExL?= Windows XP Customization 1 18th Aug 2006 02:34 AM
Does XP Pro have either timed wake-up or timed turn-on commands? =?Utf-8?B?Sm9Cbw==?= Windows XP Work Remotely 7 7th Feb 2006 03:31 PM
Automatically Run Report Adam Microsoft Access 1 19th Jun 2004 07:04 AM
System.Web.HttpException: Request timed out - [HttpException (0x80004005): Request timed out.] Steve Microsoft ASP .NET 0 1st Jul 2003 01:11 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:25 PM.