• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 286
  • Last Modified:

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

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
1 Solution
omgangIT ManagerCommented:
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
marian68Author Commented:
Thank you. It works.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now