I have a table in Access that i want to basically copy some rows, and add them into the table again while changing the information in one column. So, for example, I have rows of data like
A 1
B 1
C 1
and want to automatically copy them and change the 1's to 2's, so I would have this:
A 1
B 1
C 1
A 2
B 2
C 2
It was suggested to me to do an INSERT INTO, but Access doesn't like what I have come up with:
INSERT INTO [Pgm Rel Workloadbu]
VALUES [SELECT [Program ID],'9',[Program Status],[Programmer],[Ready Date],[Specing Hours],[Prog Hours],[Testing Hours],[Addnl Work Hours],[Online Help Date],[Rec Online Help Ind],[Mainframe Ind]]
FROM [PGM Rel Workloadbu]
WHERE [Release] = '8'
Does anyone have any suggestions or corrections on how to do this?
A 1
B 1
C 1
and want to automatically copy them and change the 1's to 2's, so I would have this:
A 1
B 1
C 1
A 2
B 2
C 2
It was suggested to me to do an INSERT INTO, but Access doesn't like what I have come up with:
INSERT INTO [Pgm Rel Workloadbu]
VALUES [SELECT [Program ID],'9',[Program Status],[Programmer],[Ready Date],[Specing Hours],[Prog Hours],[Testing Hours],[Addnl Work Hours],[Online Help Date],[Rec Online Help Ind],[Mainframe Ind]]
FROM [PGM Rel Workloadbu]
WHERE [Release] = '8'
Does anyone have any suggestions or corrections on how to do this?