Solved

Create an input form from an existing report

Posted on 2015-01-21
7
112 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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …

809 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