|
-
Apr 24th, 2005, 05:13 AM
#1
Thread Starter
Lively Member
Connect with protected MS Access database
Hi all,
How can I connect with MS Access Database protected with username and password.
When I try to do so an error occured,
Help needed
Nasreen
-
Apr 24th, 2005, 05:30 AM
#2
Re: Connect with protected MS Access database
nasreen,
An error occurred? An answer occured also... So show us yours and we'll show you ours.
Last edited by randem; Apr 24th, 2005 at 12:30 PM.
-
Apr 24th, 2005, 06:10 AM
#3
Frenzied Member
Re: Connect with protected MS Access database
 Originally Posted by nasreen
Hi all,
How can I connect with MS Access Database protected with username and password.
When I try to do so an error occured,
Help needed
Nasreen
VB Code:
Dim myCon As New Connection
Dim x As New Recordset
Private Sub Form_Load()
myCon.ConnectionString = "Provider = Microsoft.Jet.OLEDB.4.0;Data Source=c:\db1.mdb;" & "Jet OLEDB:Database Password=moin;"
myCon.Open
Set x = myCon.Execute("Select * from Table1")
Text1.Text = x.Fields(1).Value
End Sub
-
Apr 24th, 2005, 11:59 PM
#4
Re: Connect with protected MS Access database
How can I connect with MS Access Database protected with username and password.
How did you protect the database with a Username? Through the User and Group accounts?
-
Apr 25th, 2005, 01:13 AM
#5
Hyperactive Member
Re: Connect with protected MS Access database
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
|