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 6915949
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T09:32:24+00:00 2026-05-27T09:32:24+00:00

I have a table called jobs in a MySQL database. One user adds data

  • 0

I have a table called jobs in a MySQL database.

One user adds data by importing an Excel file into a linked table in Access.

This works fine, except occasionally, there is a row with a duplicate id.

What I would like to do when this happens is take the data from one column (comments) of the new row and insert it into the existing row with the identical id.

For example, the original table:

id    customer    product    comments
1     Jeff        Widget     Hello
2     Fred        Sprocket   Important comment here

Some imported data:

id    customer    product    comments
2     Fred                   A new and different comment
3     Jerry       Widget     More comments

The table after importing the above data:

id    customer    product    comments
1     Jeff        Widget     Hello
2     Fred        Sprocket   A new and different comment
3     Jerry       Widget     More comments

I’m at a loss as to how to build a trigger that would achieve this goal.

Any advice?

EDIT: Opted to use a PHP script to clean up the duplicates after the fact. Thanks for the input, all.

  • 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-27T09:32:25+00:00Added an answer on May 27, 2026 at 9:32 am

    From my experience with Access linked tables, this can only be done with code or a two-step query process. First inserting the new records, and then performing an update operation with the remainder of the data set (you could do it in the opposite order as well). Is this something you need to do on an ongoing basis, or just a one time deal?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a table called jobs and I can get data out of the
I have a table called user_details this table has got morethan 100k user details
I have a table called Shoppings in my SQL db. This one has a
i have table called type which contains data family,individual i want in some pages
In my oracle database I have table called PERSON with columns code, surname, forename.
I have table called FinalForgotten which only contains one field called aname. The field
I have a table called rent on MySQL id, int (5), autoincrement PRIMARY KEY
i have table called users , if i want to delete some user (User
I have a table called Jobs that keeps track of jobs and their next
Suppose I have a table called Apple_Jobs . It defines jobs coming from the

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.