473,394 Members | 1,829 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,394 software developers and data experts.

Delete relationship

I deleted a relationship in the relationship view, but when I create a
query that includes those two tables, the relationship reappears. When
I go back to the relationship view there is NO relationship but I can't
seem to get rid of it for queries (without manually doing it for each
query). Can anyone tell me whats going on??? TIA

Nov 13 '05 #1
7 5079

"francophone77" <fr***********@hotmail.com> wrote in message
news:11*********************@g47g2000cwa.googlegro ups.com...
I deleted a relationship in the relationship view, but when I create a
query that includes those two tables, the relationship reappears. When
I go back to the relationship view there is NO relationship but I can't
seem to get rid of it for queries (without manually doing it for each
query). Can anyone tell me whats going on??? TIA


When viewing your relationships, right-click and choose Show All. I would
expect the relationship to appear even if you have to move tables or search
a bit to see it. In other words the rlationship *is* there it's just not
currently being shown. What you deleted was an additional realtionship you
set up.
<that's the theory anyway>
Nov 13 '05 #2
I forgot to mention that I DID do a show all and in fact deleted all
relationships just to make sure. But no matter what, that relationship
always shows up when I bring both tables into one query.

Nov 13 '05 #3
"francophone77" <fr***********@hotmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
I forgot to mention that I DID do a show all and in fact deleted all
relationships just to make sure. But no matter what, that relationship
always shows up when I bring both tables into one query.

If the fields share the same name
and the same datatype
and one of the fields is a primary key
and Tools>Options>Tables/Queries>Enable Autojoin is selected
Then the join will appear - so turn it off if you don't want this feature.

If you suspect something is not as it should be try creating a new database
and importing all the tables (but make sure under the options section that
you choose not to import the relationships). Then you can re-create the
relationships from scratch.
Nov 13 '05 #4

"francophone77" <fr***********@hotmail.com> wrote in message
news:11*********************@g47g2000cwa.googlegro ups.com...
I deleted a relationship in the relationship view, but when I create a
query that includes those two tables, the relationship reappears. When
I go back to the relationship view there is NO relationship but I can't
seem to get rid of it for queries (without manually doing it for each
query). Can anyone tell me whats going on??? TIA


Hi

Tools > Options, on Table/Queries tab, Query Design - tick box Enable Auto
Join is probably ticked.

- Joe
Nov 13 '05 #5
"francophone77" <fr***********@hotmail.com> schreef in bericht news:11**********************@z14g2000cwz.googlegr oups.com...
I forgot to mention that I DID do a show all and in fact deleted all
relationships just to make sure. But no matter what, that relationship
always shows up when I bring both tables into one query.


Perhaps Access is trying to be smart ...
-- Is this 'relationship' an innerjoin between two fields with the same name?
-- Both fields are also primary keys?

Arno R
Nov 13 '05 #6
Thanks, AutoJoin WAS enabled.

Nov 13 '05 #7
francophone77 wrote:
Thanks, AutoJoin WAS enabled.


Now restore the backup that had all the relationships in before you sod
up the whole database.
Nov 14 '05 #8

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

Similar topics

7
by: Aidan Whitehall | last post by:
Have gone through BOL and Google, but can't find the answer... please help with a simple Q. I'm trying to create a simple cascade delete trigger in SQL Server 7 where deleting "parent" records in...
1
by: Swaq | last post by:
Or, at least, I find it complicated :-) Hopefully it is not that hard but here goes: I have two tables: Persons and Relations Persons contain personal data such as person_ID, name, adresse,...
3
by: cfxchange | last post by:
I am looking into work-arounds for what seems to be a flaw, or "undocumented feature" of SQL Server replication and Instead of Delete triggers not playing together. It seems that if you want to...
2
by: Steve | last post by:
How do I delete a relationship between tables in SQL Server 7.0? I previously had a relationship between two tables, but I renamed the field and table of one of the tables and the old...
6
by: Paul T. Rong | last post by:
Dear all, Here is my problem: There is a table "products" in my access database, since some of the products are out of date and stopped manufacture, I would like to delete those PRODUCTS from...
1
by: khan | last post by:
I have customer table and it has one to many relation with sales table and sales table has one to many relation with saledetail table. Is it possible if I delete a customer from customer table then...
6
by: paulwilliamsonremove | last post by:
Hi, I have two queries: "qryHistoryPersonIDs" that just contains the "personID" numeric field, and "qryDonations" that just contains the "personID" field, and a date field ("dDonationDate"). ...
3
by: Jeff | last post by:
In a subform I have a simple SQL statement that links an order details table to a product table. The form is used to enter order details. Most fields are obviously from the details table, with only...
3
by: brucedodds | last post by:
My application has a form based on a parent table with a subform based on a child table. The relationship is Cascade Delete. The first record displayed when the form opens has five child records....
31
by: matthewslyman | last post by:
I have an unusual design and some very unusual issues with my code... I have forced Access to cooperate on everything except one issue - record deletion. My form design involves a recursively...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: 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
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.