Losing Joins

Seti

Well-known Member
Joined
May 19, 2002
Messages
2,916
I have a situation where the joins between tables in my queries disappear for no apparent reason. This afternoon, I checked a query that had two tables with two joins between the tables. The joins were intact (I saw the lines in the query). A few minutes later, I checked the query (without running anything in between) and one of the two joinss was gone. Has anyone else run into this situation? Any ideas on what happened and/or how to prevent this from occurring in the future? Thanks for any help.

Seti
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Odd, I don't why that would be happening unless you weren't saving your changes...

Anyway, did you try setting up the links in Relationships? Click on the Relationships icon in the toolbar and set them up there. Then when you add tables to a query, it should automatically put the links in there for you.
 
Upvote 0
Since queries are just representative of their source tables, chances are you changed soemething there. Perhaps you changed a tables field name, or deleted a field. Also, if Access doesn't like your query, it will trying to make something that makes sense out of it. keep in mind, your query is really the SQL behind, so keep your eye on this.
 
Upvote 0
Turns out that I have an update query that was causing all of the problems. Thanks for the comments as they helped me understand what was happening.
 
Upvote 0

Forum statistics

Threads
1,221,618
Messages
6,160,873
Members
451,674
Latest member
TJPsmt

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top