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

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
?
283 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

Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

916 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