Results 1 to 2 of 2
  1. #1
    FaulknerCJ is offline Novice
    Windows 7 64bit Office 365
    Join Date
    Jun 2022
    Posts
    2

    Read ACCDB Title

    Good Morning All



    Firstly, thank-you for taking the time to read this post.

    I need to read the apptitle property from an ACCESS DB, an ACCDB instead of an MDB however.

    Normally I'd just use something like:-

    Dim PathAndNameOfDBGoesHere as string
    Dim db As DAO.Database
    PathAndNameOfDBGoesHere="example path to mdb"
    Set DB = PathAndNameOfDBGoesHere
    debug.print db.properties("AppTitle")

    and return what I need however I am struggling to do this for an ACCDB.

    Please note that I need to run this outside of the ACCDB, i.e. I am referencing the DAO library in the example above in a VB program and then passing the name of the DB. I need to do the same for the ACCDB and will include the relevant library via references.

    Any help, pointers would be greatly appreciated

    Many thanks

    --
    Christopher.

  2. #2
    FaulknerCJ is offline Novice
    Windows 7 64bit Office 365
    Join Date
    Jun 2022
    Posts
    2
    Hi All
    Have sorted in case anyone's interested. Added the Microsoft 14.0 Access Library and used the same code above and works a treat.
    Thanks for your time
    --
    Christopher.

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

Similar Threads

  1. Read Design & Read Data Issue
    By f15e in forum Access
    Replies: 7
    Last Post: 10-18-2016, 12:44 AM
  2. Replies: 5
    Last Post: 08-03-2016, 04:36 AM
  3. Replies: 2
    Last Post: 03-20-2015, 06:30 AM
  4. How do I make my .accdb database 'Read Only'
    By TongaJim in forum Database Design
    Replies: 9
    Last Post: 02-09-2013, 06:18 PM
  5. Replies: 2
    Last Post: 10-19-2006, 04:37 PM

Tags for this Thread

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