Ok, I got most of it! I have the table, query and macro all working. Two
follow up questions though. (1) How do I suppress the pop up box that keeps
telling me I am going to update rows? and (2) how do I tell Access to run it
for me each month?
Thanks!
Stacey
"Steve Schapel" wrote:
> Stacey,
>
> You need to have a way of knowing whether this month's printing has been
> done yet. The easiest way is to make a table with a single text field to
> record LastPrintMonth. Then, in your macro, you can put a Condition like
> this:
> DLookUp("[LastPrintMonth]","PrintLog")<Format(Date(),"yyyymm")
> Then, to complete the cycle, as well as the OpenReport action, add an
> OpenQuery action to the macro to run an update query to update the
> LastPrintMonth field in the PrintLog table to Format(Date(),"yyyymm")
>
> Hope that makes sense.
>
> The other way to do it is use Windows Task Manager to make a scheduled task
> to run the macro every month.
>
> --
>
> Steve Schapel, Microsoft Access MVP
>
>
> "Stacey Crowhurst" <(E-Mail Removed)> wrote in
> message news:3E87ED40-C1A8-4A1B-91BB-(E-Mail Removed)...
> > Is there a way to make access run a particular report
> > (rptWarrantyLatentDefects) monthly? Or does access have an auto reminder
> > function? Ideally, when I open the database for the first time each month
> > it
> > will automatically run the report. I'm not sure if this is possible.
> >
> > Thanks,
> > Stacey
>
>
|