Solved

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

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

813 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

16 Experts available now in Live!

Get 1:1 Help Now