Solved

Copy Report from one Access Database to another

Posted on 2007-12-03
6
1,530 Views
Last Modified: 2013-11-28
If I need to exactly duplicate a report from one Access Database to another, how do I go about doing so?
0
Comment
Question by:z018196
6 Comments
 
LVL 65

Accepted Solution

by:
Jim Horn earned 500 total points
ID: 20396720
In 'another' mdb, File: Get External Data: Import..., select 'one' mdb, and select the report.

or

Click once on report, copy, select 'another' mdb, paste
0
 
LVL 26

Expert Comment

by:jerryb30
ID: 20396745
Bear in mind that if the underlying data is not the same between the 22 db's, they will not be exactly the same.
0
 
LVL 65

Expert Comment

by:Jim Horn
ID: 20396748
Whichever process you use, make sure the VBA code behind the report copied over, and you will need to make sure the report's RecordSource exists in the new mdb
0
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.

 

Author Comment

by:z018196
ID: 20396836
I was figuring that I'd have to do some "tweaking" of the copy to make sure it runs in the new database...  but they're already very very similar in their structures, so hopefully that tweaking is minimal.  Can you elaborate on the RecordSource?
0
 
LVL 17

Expert Comment

by:Chris Mangus
ID: 20396868
Drag and Drop.  Have both Access databases open side-by-side and drag the report from the first DB to the second DB.
0
 
LVL 65

Expert Comment

by:Jim Horn
ID: 20396876
>Can you elaborate on the RecordSource?
In your report, go into Design View, right-click:Properties, Data tab, and eyeball what's in the Record Source.  It will be the table, query, or SQL statement that feeds data into your report.   You need to make sure that this exists in your 'another' database, either by creating it, or importing it as well from your 'one' database.

0

Featured Post

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.

Question has a verified solution.

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

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
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…
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.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

791 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