Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2009-04-02
3
Medium Priority
?
532 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 500 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 500 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple.  The final solution for this task involved creating a custom text parser and then reading…
If you’re using QODBC to update QuickBooks data from Microsoft® Access but Access is not showing the updated data, you could have set up QODBC incorrectly.
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…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

876 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