moke123
AWF VIP
- Local time
- Today, 00:40
- Joined
- Jan 11, 2013
- Messages
- 4,413
I do it the other way around. I create a dictionary of all the files in the table. Then I iterate through the directories with FSO andTaking a step back, the core purpose of my database is to catalog different files on my computer. I start out by scanning specific directories and building a dictionary of all found files (I used to use a Collection for these found files, but the dictionary runs much faster).
test - If ExDict.Exists(myFile.Path) = False Then ... - and write the file info to the table if missing.
edit: This post uses that method - https://www.access-programmers.co.u...port-of-directory-listing.315741/post-1743323
Last edited: