CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 1999
    Location
    CA
    Posts
    91

    Where am I? (Locating db within its self)

    How can I find the location of an access database from within the database (like app.path in normal vb)




  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: Where am I? (Locating db within its self)

    in Access Basic there is a CurrentDB method of the application object. I guess, you could then inspect the Connection property to find out the location of your database.


  3. #3
    Join Date
    Oct 1999
    Location
    CA
    Posts
    91

    Re: Where am I? (Locating db within its self)

    Just thought I should say that it ended up being <B>CurrentDB.Name</B> and not <B>.Connection</B>.

    BrewGuru99


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured