473,418 Members | 2,138 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,418 software developers and data experts.

WARNING: Relationships not imported with data

A while back I imported tables to a new database via Files-->Get
External Data --> Import...

All was well for several months, and then the database started behaving
badly in a couple of ways, including slow (actually speed was fine when
users opened database, then deteriorated after a few minutes of normal
use) and errors when trying to enter data. Specifically, this appears
when entering data in a subform, even when an individual is the only
one on the system: The Microsoft Jet database engine stopped the
process because you and another user are attempting to change the same
data at the same time. (Error 3197) Then #ERROR appears in the fields,
but after going to another record and coming back, the data is in
place.

In poking around, I realized that there were no relationships set on
the data. After hours and hours of mucking around and trying to
recreate past operations, I found what is likely the sticking point.

The data table had a linked table which no longer had a valid path.
I'd ignored the "<Path> is not a valid path. Make sure that the path
name is spelled correctly and that you are connected to the server on
which the file resides" message since that table was obsolete.
HOWEVER, I now realize that this dud table apparently caused the loss
of all relationships. If I recreate the situation but without
selecting the dud table, all is fine. FWIW, I should mention that I was
importing to a newer version of Access.

So from now on I'll assume things went badly if I see any kind of error
message while importing. And if I remember to be meticulous I'll look
for relationships after I import data. (But what else should I check
for? Indexes? Other table properties? Who knows.)

And I wonder if the problem amounts to more than just missing indexes.
Not that I expect to ever know.

P. Emigh

Dec 2 '05 #1
3 1705
when you are importing tables theres an advanced button which opens an
area with a check box for importing relationships...

spilt milk!

you are going to have to take a copy of the database and work on fixing
the data offline. sounds like more than referential integrity though,
you could have corrupted data. decompile, compact and repair and
manually fix referential integrity. depending on the size of the
database you are working with this could take time... use unmatched
query wizard to help identify orphans and hook them up or delete them.
then rebuild relationships.

Dec 2 '05 #2
Importing relationships was selected, and I've confirmed by recreating
the situation that they fail to import in the situation I described --
fer real!

Good advice -- you more or less described my plan. I got their data at
the end of the word day on Friday, and I'm about ready to dig in on
reconstructing their data. Wish me luck, because if I don't have them
up and running at 7:15 am on Monday, my name is mud.

Phyllis
BillCo wrote:
when you are importing tables theres an advanced button which opens an
area with a check box for importing relationships...

spilt milk!

you are going to have to take a copy of the database and work on fixing
the data offline. sounds like more than referential integrity though,
you could have corrupted data. decompile, compact and repair and
manually fix referential integrity. depending on the size of the
database you are working with this could take time... use unmatched
query wizard to help identify orphans and hook them up or delete them.
then rebuild relationships.


Dec 3 '05 #3
How'd it go?

Dec 5 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Megan | last post by:
Hi Everybody- I know that this is a really, really long post, but I wanted to try to give you as much background as possible. So here's a quick overview of the issues I'm asking for help with:...
49
by: Mal | last post by:
Hi, As I gain knowledge through a lot of trial, error, and usenet posts.. I have a potentially odd question. I am using a commercial access application. It is a front-end / back...
3
by: news.giganews.com | last post by:
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...
1
by: Ray Watson | last post by:
ACCESS 2000 Just a quick note to leave for future developers. This problem has been well documented in previous posts, but this little trick may help future poor souls. The error is when you...
2
by: kaosyeti | last post by:
hey.. i have 12 tables that are all identical. i imported from a spreadsheet that had 1 tab for each month in 05, and i've got each table with about 9 fields that are all identical (except for the...
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...
7
by: Craig Alexander Morrison | last post by:
Warning to Access Developers about ACE. DON'T use multivalued fields (MVF) they are worse than LookUp fields and SubDatasheets, in fact they (MVFs) are a logical progression in the dumbing down...
5
by: Kosmos | last post by:
Hey :) hopefully someone can help me with this...I decided to take on the task of programming an access database for my legal co-op/internship...I'm studying law and music production on the...
2
by: John Google | last post by:
Hi, Access 2002. I import tables from another database where I only copy the definition and not the data. I select the Import Relationships option on the import dialog. After I do the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.