Solved

Create an input form from an existing report

Posted on 2015-01-21
7
106 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
ID: 40563563
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
ID: 40563576
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
ID: 40563621
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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 

Author Comment

by:kerikeri
ID: 40565521
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
ID: 40565583
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
ID: 40565626
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
ID: 40565714
ok...
;-)
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
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…

777 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