Solved

Data Base Paths.

Posted on 1998-12-16
2
137 Views
Last Modified: 2010-05-03
I have been told and seen references to not Hard Coding my paths. For example: Set dbsJumpLog = OpenDatabase("C:\JumpLog\JumpLog.mdb").
 I can see the wisdom in not doing this however I do not know the alternate way. After looking through a few thousand questions in the archive I have decided it would be worth a few points to gain this knowledge. Can you help me?
0
Comment
Question by:Bigway
2 Comments
 
LVL 3

Accepted Solution

by:
uilleann earned 50 total points
Comment Utility
Set Db = OpenDatabase(App.Path & "\Test.mdb", dbOpenTable)
0
 

Author Comment

by:Bigway
Comment Utility
Thanks, thats perfect : )
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now