Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Setup / Configuration / May 2007

Tip: Looking for answers? Try searching our database.

Several reports, same question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Pedro - 10 May 2007 18:01 GMT
Hello everyone
I have like 30 reports to print every month. I will build a macro for it.
Quite simple i guess. Most of those reports have a query. Most of them, query
and reports have a filter and a criteria, but the real question is : I'd like
to "ask" from wich date to wich date to them all and of course that input
data appears on each report. I think i have to add a filter on my report but
i would like to print all 30 reports just saying one the date in and the date
out.
Hope i was clear and thanks in advance for all you can do for me.
Pedro
Jerry Whittle - 10 May 2007 19:37 GMT
Put something like the following in the criteria for the date field of the
queries:

Between [Forms]![frmRunReports]![txtStartDate] and
[Forms]![frmRunReports]![txtEndDate] +.9999

(Trust me on the + .9999)

Now create a form not linked to any table (AKA unbound form) named
frmRunReports. On this form put text boxes named txtStartDate and txtEndDate.
Also put a button on the form that will run the Reports macro.

Your users open the form, type in the dates, press the button to run the
macro, and it's off to the races.
Signature

Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.

> Hello everyone
> I have like 30 reports to print every month. I will build a macro for it.
[quoted text clipped - 6 lines]
> Hope i was clear and thanks in advance for all you can do for me.
> Pedro
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.