• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 245
  • Last Modified:

Copy Rows in Access Table

I have a access table with rows with a month (DEC) in Column C.  I need to copy each row to months JAN through NOV.  So I then have all the data JAN through DEC.
0
mato01
Asked:
mato01
  • 2
  • 2
  • 2
1 Solution
 
als315Commented:
Can you upload your table and expected result?
0
 
mato01Author Commented:
Per your request.  Here is a sample.
Sample-Table.xlsx
0
 
als315Commented:
Check DB.
You should have index in table (PRODUCTS+YEAR+MONTH)
DBcopyrows.mdb
0
Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

 
Jeffrey CoachmanMIS LiasonCommented:
als315,

You are always on top of your game!

;-)

Jeff
0
 
Jeffrey CoachmanMIS LiasonCommented:
<No Points wanted.>

The beauty of als315's solution is that all you have to do is maintain a table with your months.
;-)


One note though, you may want to start using the Month "Value"(1-12) instead of the Name (String).

This is so that you can eventually:
Combine the data values into a real date
Do calculations with these values.
(DateDiff, ...etc)
...etc

You can easily display the Name while referencing the number
MonthName(MonthValue)

;-)

JeffCoachman
0
 
mato01Author Commented:
Worked perfectly in my scenario.  Thanks a lot.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now