f



MS Access Help: Copying database Relationships

Does anyone know if there's an easy way to export or copy the relationship
structure from one mdb to a new one? The relationships in the db are time
consuming to reproduce. I am trying to make a copy of a database including
all the relationships, forms, queries and modules while still within the
original database. This has to be a relatively automated process (button
click). Any suggestions?


0
news
7/6/2005 7:13:11 PM
comp.database.ms-access 1111 articles. 0 followers. Post Follow

1 Replies
503 Views

Similar Articles

[PageSpeed] 20

There is a link on the following page, which creates a form to unreplicate a 
database. Although that's not what you want to do, the code behind the form 
will show you how to copy the relationships.

http://www.pacificdb.com.au/MVP/Code/UnReplicate.htm

But an easier way is to create a new database, and simply copy the tables 
and relationships in one go.
    1. Create the new database.
    2. In the new database, display the Tables tab.
    3. Select New, click Import Table, then click OK.
    4. Select the database to copy from, then click Import.
    5. Select all the tables you want to copy.
    6. Click Options.
    7. Make sure the Import Relationships checkbox is ticked.
    8. Click OK.

Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia

Microsoft Access 2003 VBA Programmer's Reference
http://www.wiley.com/WileyCDA/WileyTitle/productCd-0764559036.html


"news.giganews.com" <anthony@cambria.com> wrote in message 
news:v-2dnfMc_LTMsFHfRVn-qA@giganews.com...
> Does anyone know if there's an easy way to export or copy the relationship
> structure from one mdb to a new one? The relationships in the db are time
> consuming to reproduce. I am trying to make a copy of a database including
> all the relationships, forms, queries and modules while still within the
> original database. This has to be a relatively automated process (button
> click). Any suggestions?
>
> 


0
Graham
7/7/2005 12:29:32 AM
Reply:

Similar Artilces:

Create MS/ACCESS database app for non-ms/access users
Is it possible to create an MS/ACCESS database application and package it for users who do not have MS/ACCESS loaded in their PCs? I was told that this is possible, but I don't know what software is needed. Do you know? If so, please answer this post. Thanks. SueB *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! Per Sue Bricker: >Is it possible to create an MS/ACCESS database application and package >it for users who do not have MS/ACCESS loaded in their PCs? > >I was told that this is possible, but...

access to MS Access password-protected database?
Can anyone direct me towards a code snippet showing how to use Python to insert data into a password-protected MS Access database? My google searches have been uninformative for dbs that are password-protected. Thanks, Ken On Feb 11, 10:43=A0am, Ken McDonald <kmmcdon...@medicine.wisc.edu> wrote: > Can anyone direct me towards a code snippet showing how to use Python =A0 > to insert data into a password-protected MS Access database? My google = =A0 > searches have been uninformative for dbs that are password-protected. > > Thanks, > Ken You post is a little vague...

request for explanation on access an database in ms access
This is the code that I found on the internet for accessing an ms access database: import java.sql.*; class Test { public static void main(String[] args) { try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); // set this to a MS Access DB you have on your machine String filename = "d:/java/mdbTEST.mdb"; String database = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ="; database+= filename.trim() + ";DriverID=22;READONLY=true}"; // add on to the end ...

Access MS-ACCESS database on server from client????
I m currently developing a java based application and want to know how can i make client access database located on the server? "HeMan_Speaks" <Lunar20092010@gmail.com> wrote in message news:d71ce567-0434-48b8-b1d2-bb191706ab45@w8g2000prd.googlegroups.com... >I m currently developing a java based application and want to know how > can i make client access database located on the server? I think you're going to have to expand a little bit more in your question here, as is not 100% quite clear what you're trying to do. You might want to make a little bit of a d...

MATLAB command to access MS Access database
Hi! Is there a MATLAB command which gives access to a .mdb MS Access database or do I need a special driver? Thanks, Andree Hi Andree Ellert, you can use activeXcontrol to interact with MS-Access database. access = actxserver('Access.Application'); returns the handle for Access. set(access, 'Visible', 1); will show the opened Access window. use get(access) and set(access) commands to find the methods available to call. -Vadivelu M =========== http://www.mathworks.com/access/helpdesk/help/toolbox/database/datatool.shtml "Andree Ellert" <ellert@gmx.net////...

Wanted
I am wanting to be able to write reports against an ms-access database that is part of another package. I only want to report from the database. What I need is a package that will allow me to create the reports and then be able to distribute a run-time version. The client may not have Office so the package must run standalone. It could get to the Access database through an ODBC driver. Does anyone know what packages available? It looks like Crystal Reports has taken out their runtime version with their latest software but that was only a footnote in a book that I was reading. Please provide...

Accessing a MS Access database across two servers
Hi The technical support guys at my company have set up my system so that the server containing the MS Access database is on one server, while the pages that should access the database are on another server. When the pages and database are on the same server, I usually just connect through ODBC. The problem is that I don't know how to set up an ODBC connection to link from one server to a database in another. Anyone know what I am getting at and know of a possible solution, or a link to a site which may help. thanks in advance Brendan "Singularity" <Brendan.Collins@Sin...

Accessing MS ACCESS database using Data Environment
HI, I have developped a program in Visual Basic 6.0 using MS Access database. I have created all my reports through Data Environment where I have entered the location of my database file (for e.g c:\project\app\test.mdb) in the Connection properties. I have installed my application on another PC using Package & Deployment wizard. When viewing the reports on the other PC, I have to enter everytime the new location of the database. How can I solve this problem, please? nadia wrote: > HI, > I have developped a program in Visual Basic 6.0 using MS Access database. >...

Database connection to MS Access & MS Foxpro
Hi, When we select new project ,can "MFC AppWizard(exe)" make connection to database ? or only "database project" can make connection to database ? How do i make connection to database(MS Access/Foxpro) and perform sql using MFC Appwizard(exe) with ODBC --CDatabase? Any sample code ? Thanks. CBTan wrote: > Hi, > > When we select new project ,can "MFC AppWizard(exe)" make connection > to database ? or only "database project" can make connection to > database ? > > How do i make connection to database(MS Acce...

Redhat Apache to access MS-Access Database through PHP
Hi, I am wondering if anyone knows how to make this work. I have Redhat Liux ES v2.1 Server Apache 1.3 PHP 4.0 a MS-Access MDB file (just the file, already created) The MS-Access file is already in the Redhat Linux server. Is there a way I can make Apache & PHP to access this MS-Access MDB file? Thank you. ...

access MS-Access database in C# Windows Application
Hi, I am trying to access the MS Access database on my local machine in C# Windows Application in Visual Studio.NET. But it seems that it does not work. I use the Microsoft Application Blocks to access the database. I have tried 2 possible connection strings. ----------------------------------------- str_1 = "Driver={Microsoft Access Driver (*.mdb)}; DBQ=" + DBFilePath; str_2 = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + DBFilePath; //SqlHelper is the class in the Microsoft Application Blocks SqlHelper.ExecuteNonQuery( str_1, CommandType.Text, SQL_str); --------...

Best way to access a remote MS ACCESS database
What is the best way, via the internet, to access a remote Microsoft Access database? I was thinking of using VPN, but I thought that I would check here to see if there is a better way. Any suggestions? Thanks Do you mean remotely controlling an Access database, or linking tables over the internet? The first is doable, the second is a recipe for disaster. Remote Control: If your remote OS is Windows XP, you can use Remote Desktop (although only 1 person can access the PC at a time; this will change in the upcoming Service Pack for XP, but that may not help you now). Otherw...

Running a ms access database with access 2003 in Vista
I have a Database that I am trying to run on a new vista computer. Up to now I was running it on a win 98 computer and using access 2003! I installed access 2003 and I can make it run and view the data but I can not save any new records. Has any one seen this problem yet? Thanks Clarence Wollman On Wed, 22 Aug 2007 13:17:13 -0700, cwoll <clarencewollman@gmail.com> wrote: Do you have the same problem with the Northwind sample application? (search your computer for northwind.mdb) -Tom. >I have a Database that I am trying to run on a new vista computer. Up >to now I was running...

Help setting up Ms-Access Database
I'm hoping that someone here can give me some assistance with a database I'm trying to set up. My skills in Access are fairly basic, and I'm trying to skill up, but some of the stuff is a little opaque. I'm trying to put some data I've got on paper into Access. Recently, I got together with some other people marketing organic produce and offered to do some marketing for us on a coop basis in the city. The idea I had was to have four marketing packages for coop members with different rates and services. For want of something better lets call them P1, P2, P3 & P4 I&#...

Help connect Ms access database
Hello All, I am trying to connect an MS database without utilizing the help of the "querybuilder", I know how to do that using the "querybuilder" but this can't work as I am trying to do an exe file and be able to use it for other pc's that I have. I am doing the following, please correct me if I am wrong, but it is not working at all: dbpath=[matlabroot,'a\toolbox\database\dbdemos\trial.accdb']; conurl = ['jdbc:odbc:Driver={Microsoft Access Driver (*.mdb,*.accdb)};' ... 'DBQ=' dbpath] conn=database('Trial_now','','&#...

Any MS Access that is NOT MS Access in WinXP?
Hi all, I have a small application for bookkeeping, actually working in Access with small routines in VBA. I want to rewrite it in Java, but I don't want to use Access anymore. I started looking for another database, but I found none. I already know (and used) MySQL and PostgreSQL (waiting 7.4), but as far as I know they are only daemon, and under windows they use a lot of memory and CPU time. It's like installing a Ferrari only to cross the road. Maybe an approach with loading the daemon at the start of the program, and quitting it at the end, but I don't know how ...

How to reset or disconnect all conections to an MS Access database if the database is hung up?
Hi, All: &nbsp; Sometime I do not knwo why my database in local C drive is locked. If I restart the LabVIEW software, it works fine. Is there a way to disconnect all connections before you make a new connection? I remember I used this function a couple of years ago but I could not find the function in new LabVIEW database connectivity tool kit. I am using LabVIEW 8.0.1. Thanks. &nbsp; Jim Is it DB Close Connection? You VI should contain one of these. <img src="http://forums.ni.com/attachments/ni/170/194552/1/DB%20Close%20Connection.jpg"> DavidMessage Edited by David C...

HXTT Access v1.0 Released for MS Access database
HXTT Access provides a type 4 JDBC driver for Table, System Table, View(Query), and Linked Table of Microsoft Access (MS Access) version from 2.0, 95, 97, 2000, XP, 2002, to 2003. It supports JDBC1.2, JDBC2.0, and JDBC3.0. It supports Personal Java, JDK1.0.X, JDK1.1.X, JDK1.2.X, JDK1.3.X, JDK1.4.X and JDK1.5.X. It supports JBuilder's Database Pilot, Oracle's JVM, JDeveloper 10G, Dreamweaver UltraDev, Dreamweaver ColdFusion, ObJectRelationalBridge, DBVisualizer, Sunopsis, MySQL Migration Toolkit, Tomcat, vqServer, Hibernate, SQuirreL SQL Client, and DbEdit Database Utilites for Eclipse Platform. It supports transaction, XOPEN SQLState, RMI, Jini, JNDI, and serialization. It supports { UNION | INTERSECT | EXCEPT | MINUS } [ ALL ] query , INNER JOIN, FULL JOIN, LEFT JOIN, RIGHT JOIN, NATURAL JOIN, CROSS JOIN, self join, and subquery which includes single-row subquery, multirow subquery, multiple-column subquery, inline views, and correlated subquery. The current version of the HXTT Access packages are available at http://www.hxtt.net/en/software/download.jsp?product=Access . ...

Accessing a passworded MS Access 2000 database in Crystal Reports
Can anybody give me some code that I can put in to my VB6 app to open a passworded Access database in the Crystal Reports 8.5 RDC? I see so many examples - none of which seem to work for me. I am using a native connection in Crystal ( pdbdao.dll). My current code is : Dim Report As New crPrintPreview Dim crTable As CRAXDRT.DatabaseTable Private Sub Form_Load() Set crTable = Report.Database.Tables.Item(1) varpath = CurDir crTable.Location = varpath & "\OrderManager.mdb" CRViewer1.ReportSource = Report CRViewer1.ViewReport End Sub All I receive is the message "Error o...

MS Access database with a file extension of .mde
Good day: Can you kindly assist me in opening a MS Access database with a file extension of .mde? I get an error message stating "This database is in an unrecognized format". Any help is greatfull. TIA This usually indicates an attempt to open an Access 2000 database in an earlier version. -- MichKa [MS] NLS Collation/Locale/Keyboard Development Globalization Infrastructure and Font Technologies This posting is provided "AS IS" with no warranties, and confers no rights. "mary" <chloemelmom@yahoo.com> wrote in message news:a0a64947.0311151242.4df0c...

multiple users' simultaneous access to a MS Access database
When my end user clicks on the icon for her MS Access database (the icon is on her Novell NAL menu) she is successful in opening the database. However, when another staff member is using the database she receives the message that someone is using it and she cannot access it at that time. Any suggestions as to what I need to do to resolve this? I guess it would be a fix to allow multiple users simultaneous access to a MS Access database? Thanks in advance, Zuf Per zufie: >When my end user clicks on the icon for her MS Access database (the >icon is on her Novell NAL menu...

To enter and access database of MS access or any DBMS usibg C.
hello people, Can any body give me the code or the basic logic to enter and also access data from a Database management system using C?...also tell me the actuall syntax to run an .exe file using C along with the headers to be included.I want to do it in Windows environment only....using turboC In article <1134648270.423831.13110@g14g2000cwa.googlegroups.com>, Sree <gisripa@gmail.com> wrote: >hello people, > Can any body give me the code or the basic logic to >enter and also access data from a Database management system using >C?.....

Accessing 2 tables having same name but different databases ms-access
Hi, I have an application with MS-Access as backend and JSP/ tomcat as frontend/webserver. For getting better response time(as access is very slow compared to other RDBMS's), I have split the main DB into two DB's on different disks on my server for better performance.I have kept the table names same but changed the DB names. How do I access tables from both the DB's? This is what I have done; I made different connection to the respective DB's i.e. con and con2. When I want to access data, I am using 2 result sets for retriving data from the tables, but getting no re...

Web resources about - MS Access Help: Copying database Relationships - comp.database.ms-access

Same-sex relationship - Wikipedia, the free encyclopedia
A same-sex relationship is a relationship between two persons of the same sex and can take many forms, from romantic and sexual , to non-romantic ...

Entity-relationship model - Wikipedia, the free encyclopedia
In software engineering , an entity-relationship model ( ER model for short) is an abstract and conceptual representation of data . Entity-relationship ...

'Slave' Henry Rose was in a violent but happy relationship with his 'master' until fatal stabbing
Submissive half of Caulfield couple had 'loved' being abused but then one night, court heard, they were arguing in the kitchen and he picked ...

'Slave' Henry Rose was in a violent but happy relationship with his 'master' until fatal stabbing
[ SMH - Text-only index ] 'Slave' Henry Rose was in a violent but happy relationship with his 'master' until fatal stabbing Date: February 22 ...

'Slave' Henry Rose was in a violent but happy relationship with his 'master' until fatal stabbing
[ The Age - Text-only index ] 'Slave' Henry Rose was in a violent but happy relationship with his 'master' until fatal stabbing Date: February ...

'Slave' Henry Rose was in a violent but happy relationship with his 'master' until fatal stabbing
Submissive half of Caulfield couple had 'loved' being abused but then one night, court heard, they were arguing in the kitchen and he picked ...

Relationship Between Fusion and Bogusky's Fearless Evolves
The "social impact agency" Fearless was opened last February by three industry heavyweights: Alex Bogusky and fellow Crispin Porter & Bogusky ...

TrueCar hires executive to 'strengthen' dealer relationships
News about staff changes, executive salaries and personalities in the automotive industry.

Donald Trump’s ‘outlandish’ persona might be due to his decades-long relationship with WWE
... Insider to discuss his book on the life of the presidential candidate. We asked D'Antonio to talk about Trump's decades-spanning relationship ...

Andrew Lincoln on Walking Dead character’s relationship: ‘it feels right’
... and some say unexpected hookup between Michonne and Rick on Sunday night’s Walking Dead. Michonne and Rick do not have this kind of relationship ...

Resources last updated: 2/25/2016 6:11:43 PM