|
-
Apr 10th, 2003, 11:31 AM
#1
Thread Starter
Addicted Member
Relative path to mdb file
Is there a way I can specify a relative path to my mdb file instead of an exact path as showing below:
Dim strConn As String = "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source=C:\VB Project\FormPractice\Login\Scholarship.mdb"
I have tried: Data Source=C:\...\Scholarship.mdb but this doesn't work. I also tried this: Data Source=Data\Scholarship.mdb but same thing happened. I receive an error.
Many thanks in advance!
Chong
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|