Avatar of Steve Eckerman
Steve Eckerman
 asked on

Access 2003 query

I have a table called the PartForecast.  I would like a query that copies the 2016 records to the PartForecast table as 2017 records.  Can anyone give me some direction on this query?

Thanks in advance,

Steve
Microsoft OfficeMicrosoft AccessSQL

Avatar of undefined
Last Comment
Steve Eckerman

8/22/2022 - Mon
als315

Make append query with same source and resulting table - PartForecast and change date field from 2016 to 2017. May be you can upload sample DB with this table only and some dummy data?
Steve Eckerman

ASKER
Can you send me your idea in a SQL statement?

Thanks,

Steve
als315

I need structure of your table. What is in field with Year?
Look at query qry1. 1 is added to year number. If you have more then one year in the table, you can add criteria
DB2016.mdb
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
Steve Eckerman

ASKER
Here is the table in Excel format.

Thanks,

Steve
PartForecast.xls
Steve Eckerman

ASKER
Basically I just want to copy the 2016 records to the same table and change the fiscal year to 2017.

Thanks,

Steve
als315

Look at sample (you can remove some columns if you will refill them with new data)
DB2016.mdb
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Steve Eckerman

ASKER
All your query did was double the 2016 records.
aikimark

I think you will need to push the rows from the newer database, since the 2003 database doesn't understand the 2007+ format.
Steve Eckerman

ASKER
I can only use Access 2003 because my system is programmed before .NET came into affect.

:(
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
SOLUTION
als315

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
aikimark

My bad.  My initial read of the problem caused me to think that you were dealing with multiple Access versions.
ASKER CERTIFIED SOLUTION
Steve Eckerman

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Steve Eckerman

ASKER
The query als315 provided accomplished what I was trying to do.