Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

query not updateable? 1

Status
Not open for further replies.

simon551

IS-IT--Management
May 4, 2005
249
Hi, I can't figure out why this isn't an updateable query (access 2007)
Code:
SELECT [_vendorJoin].joinId, [_vendorJoin].vendor_et, [_vendorJoin].vendor_or_othername_qb, [_vendorJoin].qb_type, [_vendorJoin].[qb_othername-overwrite]
FROM _vendorJoin INNER JOIN [_temp_ettrans-received_cc_vendors] ON [_vendorJoin].vendor_et = [_temp_ettrans-received_cc_vendors].vendor;

It's just 2 tables with a text field join. Seems straight forward enough but maybe I'm rusty...

 
Strike that last sentence. It's actually one table I'm trying to update with a filter based on the join field and second table. The query is returning 25 unique records.
 



...because it's only a SELECT query?

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 


Sorry, is the query depending on some aggregation in the other table?

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 


So will the real SQL please stand up.

Your latest and greatest, please.

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
That is the full SQL. The first table has roughly 500 records and I just want to go through the records that I need right now which are the ones that match to the second table (the temp table)which is why I create a join. I use the second query to filter the records and then I want to be able to manually update fields in the first table.

 


No Database Functions being used for field data in either table?

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top