Greetings,
I am very new to working with databases, and I am not sure how to go about structuring the query I need. What I have is an Access database with approx. 400,000 records in 5 fields. The fields are owner, filename, size, path, modified date. What I would like to do is take the field "filename", and come up with a count of the different file types listed in the records (XLS, PPT, DOC, etc...) as well as a sum of the bytes that those counts entail. The filenames are in long filename format with the typical .XXX extensions. The ultimate goal is to get this information into Excel where I can put together a summary page with a distribution breakdown of all the file types, their byte count and their overall impact on the server storage space.
The queries I have attempted will get me the list of, say XLS files, but will not show me the other types available. I realize this is because I have hard-set the criteria to "XLS" in the query.
Having rambled on enough above, my questions are:
1. How can I structure the query to filter on all extensions available without having to hard set the criteria for each individual one?
2. How can I import that query into Excel where I can use a pivot table or other means to make actionable the results of the query?
Any help you good folks can provide will be most appreciated. Thanks in advance for your time and expertise.
Ron