|
-
Jun 15th, 1999, 03:27 PM
#2
Member
it is in the OpenDatabase, as follows:
Assume: you have a Jet database ("MyJetDB.mdb") in your application location
Assume: your database password is "Fred$" (no quotes)
To open the database, you would:
Private Sub ButOpenDB_Click()
dim dbCurrent as database
set dbCurrent = Workspaces(0).OpenDatabase(app.path & "\MyJetDB.mdb", false, false, ";pwd=Fred$")
End sub
------------------
http://www.smithvoice.com/vbfun.htm
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
|