Solved

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

Posted on 2009-04-02
3
463 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

In Debugging – Part 1, you learned the basics of the debugging process. You learned how to avoid bugs, as well as how to utilize the Immediate window in the debugging process. This article takes things to the next level by showing you how you can us…
In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

948 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now