Solved

Create an input form from an existing report

Posted on 2015-01-21
7
101 Views
Last Modified: 2015-01-22
I've created a report with a subreport.  The format is perfect, and now I would like to simply create a form, exactly the same, where the existing data can be modified.  Sounds simple, but I'm not having much joy!  Thanks for any advice.
0
Comment
Question by:kerikeri
  • 4
  • 3
7 Comments
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 500 total points
Comment Utility
Unless your Report is very simple, ...it may not be a simple thing to make an "Exact" form from it...
(Be aware that typically the form is created first)

But here is a way to do what you have asked:
Open the report in Design View
Press: Ctrl+A  (to select all of the objects on the report)
Create a From in design View
Press: Ctrl+V  (To paste all the report objects into the form.)

Again, ...it may not be as easy as you had hoped, ...as Reports and forms serve two different purposes.
So the recordsource for the main form may not have came along with the copy/paste.
You may have to manually set the Recordsource property of the main form to the same table (or query) as the main Report.

But again, ...this is highly unusual, ...and I don't recommend doing this...
As I stated, typically the form is created first ...then the Report.
(the form may not operate or display in the way you might expect either...)

Hope this helps...

JeffCoachman
0
 

Author Closing Comment

by:kerikeri
Comment Utility
Thank you for your quick response Jeff, much appreciated.  I've decided I'm going to add a command button to the 'main' form that opens the 'subform' . I've just tried the copy and paste suggestion, no can do.
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
Comment Utility
Still confusing...
I'm going to add a command button to the 'main' form that opens the 'subform'
There is no real need to do that.
In a typical main/subform, the subform is always visible.

What the need for a button to open the subform?
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 

Author Comment

by:kerikeri
Comment Utility
Thanks for the follow up comment.  It's urged me to document what I've done.  See attached.  I can't figure out how to have a subform within a continuous main form, which is what is required.  So this is my work-around.
EE-Explanation.docx
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
Comment Utility
What is your skill level with Form/report design?
In most cases it is not necessary to create two queries,
...All you need is one query that joins both tables...

Also I don't see a need for a Continuous main form and a continuous subform. (because Access does not allow this)
What is typically done is that you have a continuous form (Bridge)
Then make a "popup" continuous form for the Roads
(If I am understanding correctly...
But you will need a fair amount of code to get this to work right.

Why cant a standard main/subform work for you?
0
 

Author Comment

by:kerikeri
Comment Utility
I've had some years of form/report design, but still am learning.  However, in this case, I'm going to stick with the command button as it displays the data in the same format as the Report document.   Thanks again, I'm always impressed with you Experts' generosity!
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
Comment Utility
ok...
;-)
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

772 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

12 Experts available now in Live!

Get 1:1 Help Now