Duplicate many records with auto save

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Dear all
I have Microsoft Access application and the DataBase
(SQL) so i have function that i want to Duplicate many records through
( Append Query ) BUT i have one problem that i have Gernrated number so when
i run the Append Query i got error
 
jehad hindi said:
Dear all
I have Microsoft Access application and the DataBase
(SQL) so i have function that i want to Duplicate many records through
( Append Query ) BUT i have one problem that i have Gernrated number so
when
i run the Append Query i got error


You need to specify the columns to be appended and make sure you do not
include the generated column. For example, if your existing query looks
something like this ...

INSERT INTO TargetTable
SELECT *
FROM SourceTable

.... then you need to change it to something like this ..

INSERT INTO TargetTable
(SomeColumn, SomeOtherColumn)
SELECT SomeColumn, SomeOtherColumn
FROM SourceTable
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top