Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 535907
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T09:45:58+00:00 2026-05-13T09:45:58+00:00

In Access 2003, I’m trying to take a table and if any Indicator =

  • 0

In Access 2003, I’m trying to take a table and if any Indicator = 1 for ANY line of a given ID, make all lines = 1 for that ID

For Example, if we have:

ID   Indicator
Jack 0 
Jack 0
Jeff 1
Jeff 0
Mark 1
Mark 1

Would become:

ID   Indicator
Jack 0 
Jack 0
Jeff 1
Jeff 1
Mark 1
Mark 1

Since both Jeff and Mark have at least 1 line with Indicator = 1 I want to make ALL their lines = 1.

This is my attempt so far, but I keep getting an error “Operation must use an updateable query” (I think because the select statement is not a table… you can’t update a query)

UPDATE Table1 INNER JOIN (SELECT DISTINCT Table1.ID
FROM Table1
WHERE (((Table1.Indicator)=1)))
List ON Table1.ID =List.ID SET Table1.Indicator = 1;

What is a good way to do this quickly and efficiently without making a temporary table? Or would a temporary table be the best/most efficient solution? This will clutter up my database quite a bit since there are 8 lines I have to do this on… the table I’m opperating on is ~300 MB.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T09:45:59+00:00Added an answer on May 13, 2026 at 9:45 am

    This is one way to do it:

    UPDATE T1 SET Indicator = 1 
    WHERE Indicator = 0
    AND EXISTS (SELECT * FROM T1 AS T2 WHERE T2.Indicator = 1 AND T1.ID = T2.ID)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a MS ACCESS 2003 datatbase that have one table in it TABLEA.
I'm developing an Access 2003 Database that uses a MS SQLServer backend. I'm trying
In Microsoft Access 2003 and Visual Basic 6 I'm trying to copy a table
Using Access 2003 In my table column, some of the fields are null, some
Using Access 2003 I want to get a table value from the two databases
I have Access 2003, and Crystal Reports 10 (the one that comes with VS2008
I am using MS ACCESS 2003 TABLE NAME –> tmp_cardevent PERSONID CARDEVENTDATE CARDEVENTTIME 5008
Using MS - Access 2003 Table S.No Details 1 name 2 address 3 email
I have an Access 2003 database MDB where all of the tables exist as
I'm using MS Access 2003 and I'm trying to execute a few queries at

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.