Results 1 to 6 of 6
  1. #1
    davegri's Avatar
    davegri is online now Excess Access
    Windows 11 Access 2019
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,412

    Where Oh Where Has My Database Gone?

    Does your computer have a lot of database files scattered across its filing system? Different versions of the same DB in separate locations? If so, which is the latest version? Have you ever tried to locate a database that contains a specific table, but you can't remember the DB name or where it is? Would you like to have a list of all the .mde files in your computer, reported by folder location? Are there any .accdt files on your computer?


    This utility DB will answer these questions easily, as well as expediting many otherwise laborious manual searches. It's practically AI !!


    FYI, you can easily design additional reports as query qExtended contains complete breakout of fields:
    Full Path with filename
    Full Path without filename
    filename
    file extension
    date changed attribute

    DBFinder-v01.zip

    Click image for larger version. 

Name:	frmSearch.jpg 
Views:	169 
Size:	109.3 KB 
ID:	50349

    Click image for larger version. 

Name:	Reports.png 
Views:	169 
Size:	225.5 KB 
ID:	50350
    Last edited by davegri; 06-11-2023 at 03:54 PM. Reason: clarif

  2. #2
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Office 365
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,977
    Hi Dave
    I like this - similar to the excellent Everything utility but specific to database files
    The searches are very fast as well.

    I'd like to adapt this and publish it as a free example app on my website ... providing that's OK with you.
    I would of course give full credit to you for the idea and the code I use

    Perhaps discuss this further via PM/email?

    Two issues
    a) I got repeated error 53 in AddToCollection - file not found which doesn't make sense to me
    b) I also got error 3075 in ListFiles with a badly named client file containing an apostrophe

    For now, I've added error handling to deal with those and will investigate further later

    I notice that it won't work if you use a root folder such as G:\ which is a pity.
    I haven't investigated why as yet. Can this easily be overcome or is it a limitation of the code used?

    Finally, out of interest what are .mdz files? Never heard of this suffix and its not listed in Windows settings for applications by file type

    There are a few other obscure Access file types
    e.g. .accdc (signed package), .accdw (Web app), .aacft (data type template), .mdn (blank database template), .mdbhtml (Access HTML document).
    FWIW you can also have shortcuts to individual db objects (form/query/reports etc : .maf, .maq, mar etc
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  3. #3
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,933
    Any chance of a 2007 compatible version please Dave?
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  4. #4
    davegri's Avatar
    davegri is online now Excess Access
    Windows 11 Access 2019
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,412
    Quote Originally Posted by isladogs View Post
    Hi Dave
    I like this - similar to the excellent Everything utility but specific to database files
    The searches are very fast as well.

    I'd like to adapt this and publish it as a free example app on my website ... providing that's OK with you.
    I would of course give full credit to you for the idea and the code I use

    Perhaps discuss this further via PM/email?
    Colin, OK with me. I think the whole idea of posting sample databases is to provide a framework idea that can be used as is or modified in any way that an individual downloader sees fit. Many of the samples posted here vary in usefulness as is, but can be starters for working solutions. Feel free to adapt/extend the app as you like.

    The .mdz file was (is) for creation of a custom wizard. I faintly remember trying that out years ago and it worked.

  5. #5
    davegri's Avatar
    davegri is online now Excess Access
    Windows 11 Access 2019
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,412
    Quote Originally Posted by Welshgasman View Post
    Any chance of a 2007 compatible version please Dave?
    Sorry WGM, I don't have that version. Sample databases aren't necessarily 100% working apps for everyone, or backward compatible.

  6. #6
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,529
    @davegri
    Very slick. Thanks

    Alan

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 8
    Last Post: 07-09-2019, 12:51 AM
  2. Replies: 6
    Last Post: 10-30-2018, 04:35 AM
  3. Replies: 9
    Last Post: 06-23-2018, 10:25 PM
  4. Replies: 2
    Last Post: 04-27-2016, 06:20 AM
  5. Replies: 1
    Last Post: 07-01-2015, 04:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums