?
Solved

Create an input form from an existing report

Posted on 2015-01-21
7
Medium Priority
?
134 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 2000 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
Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

 

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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…
Suggested Courses

764 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