Two Query's / Need only Matching Records

larper

Board Regular
Joined
Jan 13, 2005
Messages
66
I have two querys that have only 1 field that has same records. I've tried to join on this, but when I run the query I get a message saing "this recordset is not updateable". and Query just freezes. Any Ideas. Thanks! :oops:
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Are you trying to run some sort of action query (i.e. Append, Delete, Update query)? Certain types of queries are non-updateable, so you cannot change/add/delete values in these types of queries.

In order to determine what is going on, we would need more information on what each query does.
 
Upvote 0
I'm not sure if this is what you are after or not.

table1 contains these fields: Name, 1, 2, 3, 4
Table2 contains these fields: Name, blah,blah1,blah2,blah3

I select all records where table1.name = table2.name with this:

SELECT Table1.*, Table2.*
FROM Table1, Table2
WHERE Table1.Name = Table2.Name;


Kevin
 
Upvote 0

Forum statistics

Threads
1,221,848
Messages
6,162,415
Members
451,762
Latest member
Brainsanquine

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