Solved

MS Access Reports - Using report events to open date picker for report

Posted on 2009-04-02
3
483 Views
Last Modified: 2013-11-28
I have a number of reports based on queries that refer to a form with a combo box that holds a date.  Is there a way in report events to have the report open (in preview mode)the form and retrieve the date values?   What is happening now is that the report opens the form and immediately previews the report without giving the user an opportunity to enter dates via the form  I know I can do this another way but I was curious if the method I mentioned is possible..
0
Comment
Question by:Sbovino
  • 2
3 Comments
 
LVL 12

Accepted Solution

by:
koutny earned 125 total points
ID: 24054855
Yes, there is a way - just open the form as a dialogue. See the example in the db file which I uploaded.
0
 
LVL 12

Expert Comment

by:koutny
ID: 24054865
Sorry, here is the file
reportform.mdb
0
 
LVL 74

Assisted Solution

by:Jeffrey Coachman
Jeffrey Coachman earned 125 total points
ID: 24055431
Sbovino,

FWIW, what most developers do is to always open a report from a form menu.
This way you avoid this issue altogether.

The theory is that everything a user needs to do , should start with a form.

They should not have access to the Navigation pane or any raw Access object.

In other words, there will be a Reports Menu, and on that menu will be a selection for the report and any parameters.

See these Tutorials as well:
Simple:
http://www.fontstuff.com/access/acctut08.htm
More Complex:
http://www.fontstuff.com/access/acctut19.htm
;-)

JeffCoachman

JeffCoachman
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question