Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.
Function import(tableName As String) Dim strSQLDelete As String Dim strSQLImport As String Dim directoryName As String directoryName = "S:\ABCentre\ABDataC.mdb" strSQLDelete = "DELETE * FROM [" & tableName & "];" strSQLImport = "INSERT INTO " & tableName & " SELECT * From [" & directoryName & "].[" & tableName & "]" With DoCmd .SetWarnings False .RunSQL strSQLDelete .RunSQL strSQLImport .SetWarnings True End With End Function
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
18 Experts available now in Live!