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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T22:45:06+00:00 2026-06-12T22:45:06+00:00

I am getting the data from the Excel sheet on monthly , need to

  • 0

I am getting the data from the Excel sheet on monthly , need to import data into the Access table as same as excel sheet. Then I need to transform the Access table (Input table) into the Normal Access table( Output table)…

Kindly provide suggestions

  1. how to create a dynamic input table in the access ..since new column can add or remove in the excel sheet (ex :201211)
  2. How to convert input table into Output table in the access.

Input Table : ( Column name : Product | Location | 201209 | 201210 )

Product | Location | 201209 | 201210 

X       | DK       | 10     | 12
y       | DK       | 10     | 12    

Output table :

Product | Location | Date  | Quantity 

X       | DK       |201209 | 10
X       | DK       |201209 | 12
Y       | DK       |201210 | 10
Y       | DK       |201210 | 12

My input table contains more columns ( ex : 201208 , 201209, 201210 ……. 201402)

  • 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-12T22:45:08+00:00Added an answer on June 12, 2026 at 10:45 pm

    You could get your desired output from a query like this:

    Select Product, Location, '201209' as [Date], Table.[201209] as Quantity from Table
    UNION
    Select Product, Location, '201210' as [Date], Table.[201210] as Quantity from Table
    

    You mentioned that your column names could change. You could get around this by creating a VBA subroutine which would look at the TableDef, and construct a SQL query for all the columns which would then insert records into a table.

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

Sidebar

Related Questions

i am trying to insert data from excel sheet into database in java. for
I am creating a macro to add data from my Excel sheet into my
I am working on reading data from excel sheet. My table will look like
I need to automate a process that involves getting data from a series of
i have an datatable like this. i am getting this data from an excel
I need to create a script that extracts some data from a complex Excel
hello is there a way to import data from excel 2007 file? it is
I am inserting data from an Excel sheet to SQL Server 2005 db. I
I am reading data from an excel sheet and displaying it in a data
I need to write an sql query (in c#) to select excel sheet data

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.