V
Vayse
At the moment, each client has an Agreement. Off this agreement table are
around 20 other tables, each detailing a different section of the Agreement.
Now, I want to change the database so there is an Agreement per year. So
when the Agreement deadline is reached, the user can create a new
Agreeement, which is a copy of the old one. Then the user works on the new
Agreement from now on. This also means that each section should be copied,
but will now have the new AgreementID.
Now, if was just using Access, I would know what to do. Lets say I was
copying the Computers sections.
1) Create a new query.
2) Add the Computers table
3) Drag all the fields down, except for the AgreementID
4) Change the query to append, point to the Computers table. Each field
would then map
5) Make the AgreementID a parameter
Are there any such shortcuts in SQL Server? All the sections have at least
50 fields, so I don't want to type them all out.
I'm using SQL 2000 and Access 2000 adp. I also have Access XP on another PC,
if there is a feature there that would be useful.
Thanks
Vayse
around 20 other tables, each detailing a different section of the Agreement.
Now, I want to change the database so there is an Agreement per year. So
when the Agreement deadline is reached, the user can create a new
Agreeement, which is a copy of the old one. Then the user works on the new
Agreement from now on. This also means that each section should be copied,
but will now have the new AgreementID.
Now, if was just using Access, I would know what to do. Lets say I was
copying the Computers sections.
1) Create a new query.
2) Add the Computers table
3) Drag all the fields down, except for the AgreementID
4) Change the query to append, point to the Computers table. Each field
would then map
5) Make the AgreementID a parameter
Are there any such shortcuts in SQL Server? All the sections have at least
50 fields, so I don't want to type them all out.
I'm using SQL 2000 and Access 2000 adp. I also have Access XP on another PC,
if there is a feature there that would be useful.
Thanks
Vayse