473,395 Members | 1,568 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Importing Relationships

8
Hello,

I have approximately 20 mdb's that have the same schema but all have different data for different geographic locations. There are a plethora of tables and relationships (to be built). I want to build relationships so that I can run update queries using referential integrity. It is very time consuming to create relationships and I want to do it for one mdb and copy the relationships over to the other mdbs. Is there a way to do this? I saw a previous post that opted to use the file-->get external data-->import-->select mdb-->options-->check relationships-->definition only-->OK. This doesn't seem to work for me. I open relationships and rt click show all and nothing shows up. What gives? Thanks in advance for any insight!

Sloney
Aug 29 '08 #1
4 3238
sloney
8
To add to this I just found that when importing the relationships I had to select the tables that were included in the relationships. Then I selected to just import the definitions only and not the data. The problem is that the mdb that I am importing the relationships into have these same tables already. Therefore, it imports the blank tables associated with the relationships and adds a 1 to the end of the name to denote another table. Ideas????

Thanks,

Sloney
Aug 29 '08 #2
NeoPa
32,556 Expert Mod 16PB
I just tried that and I found it did the same for me. I'm running A2003 on XP SP2.

I would consider making a backup of the database (Copy the .MDB file) and simply clearing all the data from all of the tables (easily done with a small bit of VBA code).

When all done Compact & Repair the result and you have a dummy empty database.
Aug 29 '08 #3
sloney
8
Thanks for your response. These DBs are somewhat large. Lets suppose that I create a dummy DB with all the desired relationships, etc. Is there any easy way to import data from a fully populated DB to the dummy? There are probably 100 spatial tables, 100 lookup tables, and associated Domain tables. Just curious. Thanks a mil!

Sloney
Aug 30 '08 #4
NeoPa
32,556 Expert Mod 16PB
Well, you could always leave them in the dummy if they are common to all databases, but if not, then yes.
  • You can import tables.
  • You can copy/paste from one database into another with the option of pasting just the data.
  • You can link the remote tables and transfer the data with a query (Or Copy/Paste again even).
Aug 30 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: orangeKDS | last post by:
orange May 14, 5:16 pm show options Newsgroups: comp.databases.ms-access From: "orange" <orange...@mail.ru> - Find messages by this author Date: 14 May 2005 14:16:49 -0700 Local: Sat,May...
1
by: Chad Reid | last post by:
I have two databases, a development one, and then one that all the users use. I make changes to the development one, then export the completed table to user's database. However, I've come accross...
5
by: dixie | last post by:
If I sent a user an empty database container - dB with no tables and I needed them to import their tables into it and one of their tables was a hidden table with the prefix Usys, is there any way...
14
by: MLH | last post by:
GHudson has working procedures posted at http://www.access-programmers.co.uk/forums/showthread.php?t=66320 They work. Relationships, however, and some minor default settings are not preserved....
45
by: salad | last post by:
I'm curious about your opinion on setting relationships. When I designed my first app in Access I'd go to Tools/Relationships and set the relationships. Over time I'd go into the window and see...
1
by: OM | last post by:
I have a database table, which is linked to a second table. I have some data in Excel tables, but the data is in 1 spreadsheet, and needs to go into 2 tables, and keep the relationships intact. ...
14
by: T. Crane | last post by:
Hi, When troubleshooting code that's saved in a text file, I often find that I want to make a change to it, re-save it, then reimport it. However, just typing import myTestCode doesn't...
0
by: Shootah | last post by:
Hi, I have succeeded in adding automated relationships with refference tables after importing an excel file created from a query to an Access database. However I have the following problem: ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.