Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

How to see in a report the entered text in a form without closing the form

Posted on 2011-03-09
2
Medium Priority
?
285 Views
Last Modified: 2012-05-11
I have a report based on some fields of a table in which the data stem from a form.
How could I see the updated report witout closing the form?
Thank you
0
Comment
Question by:marian68
2 Comments
 
LVL 28

Accepted Solution

by:
omgang earned 1000 total points
ID: 35087605
Add a command button to the form to open/launch the report.

DoCmd.OpenReport "ReportName", acViewPreview

If the record on the form hasn't been saved yet you may want/need to issue a save record command first

DoCmd.RunCommand acCmdSaveRecord
DoCmd.OpenReport "ReportName", acViewPreview


OM Gang
0
 

Author Closing Comment

by:marian68
ID: 35087966
Thank you. It works.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I have had my own IT business for a very long time. I started mostly with hardware and after about a year started to notice a common theme. I had shelves with software boxes -- Peachtree, Quicken, Sage, Ouickbooks -- and yet most of my clients were…
Code that checks the QuickBooks schema table for non-updateable fields and then disables those controls on a form so users don't try to update them.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

580 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