Access TransferSpreadsheet Excel - Prevent Duplicates? -


i working on application there desire automate data entry as possible. wish add button such entry forms choosing excel file import. have done 1 interface, , i'm working on others. i'm looking best way prevent duplicates imported table. 1 working on now, simple 2 column import. 1 method have used before import spreadsheet temp table. can utilize query insert <> . wonder if best method use.

any thoughts?

thanks!

something should work. can tailor more if list more details of projects.

from "external data" on ribbon, link excel file.

then write following query:

insert table1 (  field1,  field2 ) select  a.field1,  a.field2 tableexcel  left join table1 b on a.field1 = b.field1 (((a.field1) null)); 

then attach macro button running query above.


Comments

Popular posts from this blog

java - HTTP Status 500 - An exception occurred processing JSP page /second.jsp at line 15 -

php - Using str_replace to translate a MySQL Table in html -

SQL Server - MyCTE query based on 24 hour period (next day) -