D
Dale
I want to import data from one database to another. I have the following
query that will import all the data that i need. I am not sure how to modify
this query to only import data that does not already exist in the table. Any
suggestions?
sql = "Insert into classinfo (showid,classid,classnumber,classdescription)
"SELECT ClassInfo.ShowID, ClassInfo.ClassID, ClassInfo.ClassNumber,
ClassInfo.ClassDescription FROM (ActiveShow INNER JOIN ClassInfo ON
ActiveShow.ShowID = ClassInfo.ShowID) where ClassInfo.SeparateScoring = True
in '" & Text1.Value & "'"
CurrentDb.Execute (sql)
query that will import all the data that i need. I am not sure how to modify
this query to only import data that does not already exist in the table. Any
suggestions?
sql = "Insert into classinfo (showid,classid,classnumber,classdescription)
"SELECT ClassInfo.ShowID, ClassInfo.ClassID, ClassInfo.ClassNumber,
ClassInfo.ClassDescription FROM (ActiveShow INNER JOIN ClassInfo ON
ActiveShow.ShowID = ClassInfo.ShowID) where ClassInfo.SeparateScoring = True
in '" & Text1.Value & "'"
CurrentDb.Execute (sql)