First this is about Access VBA code - so I hope I’m in the right forum?
I’m a mechanical drafter so I don’t much about programming. However I want to use Access to organize drafting files - since most offices have this program.
Usually they have a folder that they put their all drawing files in - but seldom is there any real organization to that folder.
First step would be to get all their file names into a table.
Can VBA Access code take the file name of every file in a folder and list that in a table?
There will be sub folders inside of the overall folder
Most likely there will be some files with the same file name in different sub folders - so I would need the long path name in one column and the just the file name in another
Then the next step would to have a form where the file name is typed into a text box then a button clicked and the file row will come up. But since there will likely be duplicate files in different folders I would need to have the file in the long path also come up so I can find out if the files are the same drawing - just in different folders
I have done this by using a program that will list the file names and then I organize them in Excel then import the data into Access, a process that is a hassle and usually obsolete by the end of the week.
I still don’t really understand exactly how to get forms to do what I want but I can type the file name in a query and find out if the file is in the table!
Anyway an easy way of getting the file names and the paths into a table would be a big step forward.
Thanks a lot!