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

  • Home
  • SEARCH
  • 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 7998911
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T15:20:59+00:00 2026-06-04T15:20:59+00:00

Good day, I need some help with MS Access and a query. My SQL

  • 0

Good day,

I need some help with MS Access and a query. My SQL query takes entries from the a table and copies it to the same table with the month field changed to a different value. For example it would take all the payroll entries for Jan, copy them and change the month to Feb.

The SQL looks like this:

INSERT INTO example_table (month, field, field, field)
SELECT "FEB", field, field, field
FROM example_table
WHERE month = "JAN"

It selects all the entries for JAN and then copies and pastes it into the same table and changes the month to FEB.

My question is, how can I run this query in MS Access to get the “FEB and “JAN” field values (from the above example) from a form?

Maybe the way that I’m trying to do this is not the best method, if there is another way to get the same results please let me know.

  • 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-06-04T15:21:00+00:00Added an answer on June 4, 2026 at 3:21 pm

    I’m not sure exactly what you’re after, but if YourForm has a text box named txtFirstMonth where you would type in “JAN” and another named txtSecondMonth where you would type in “FEB”, this should give you the equivalent of your sample query.

    INSERT INTO example_table ([month], field, field, field)
    SELECT
        Forms!YourForm!txtSecondMonth AS [month],
        field,
        field, 
        field
    FROM example_table
    WHERE [month] = Forms!YourForm!txtFirstMonth;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Good day. I found the example below, I need to append some more text
Hello and good day to you. Situation: For some reason, from time to time
Good day, I have a requirement which i need to include a layout (actually
Good day, I receive data from a communication channel and display it. Parallel, I
I am new to Python and need some help. i need to write a
I have a hits table with millions of records. I need to show some
Good day everyone I need to execute command on linux machine this command is
Good day, I need to extract portion of string which can looks like this:
I have created a remote sql server 2005 database. I need to get some
Good day to all. I need to create a graphical countdown in js. 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.