Link to home
Start Free TrialLog in
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
Avatar of als315
als315
Flag of Russian Federation image

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?
Avatar of Steve Eckerman
Steve Eckerman

ASKER

Can you send me your idea in a SQL statement?

Thanks,

Steve
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
Here is the table in Excel format.

Thanks,

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

Thanks,

Steve
Look at sample (you can remove some columns if you will refill them with new data)
DB2016.mdb
All your query did was double the 2016 records.
I think you will need to push the rows from the newer database, since the 2003 database doesn't understand the 2007+ format.
I can only use Access 2003 because my system is programmed before .NET came into affect.

:(
SOLUTION
Avatar of als315
als315
Flag of Russian Federation image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
My bad.  My initial read of the problem caused me to think that you were dealing with multiple Access versions.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The query als315 provided accomplished what I was trying to do.