Board index » delphi » Password issue in ADO & MS Access2000 Database
f a i s a
![]() Delphi Developer |
Tue, 19 Aug 2003 23:10:28 GMT
|
f a i s a
![]() Delphi Developer |
Tue, 19 Aug 2003 23:10:28 GMT
Password issue in ADO & MS Access2000 Database
Password issue in ADO & MS Access2000 Database
Normally my Delphi5 with Ms access2000 database(ela.mdb) connects perfectly I really have to put Password in my database. Is there any other way to do f a i s a l |
Brian Bushay Team
![]() Delphi Developer |
Wed, 20 Aug 2003 12:58:38 GMT
Re:Password issue in ADO & MS Access2000 DatabaseQuote>I really have to put Password in my database. Is there any other way to do to enter the database password go to the All Tab in the datalink Properties dialogbox -- |
f a i s a
![]() Delphi Developer |
Thu, 21 Aug 2003 23:04:29 GMT
Re:Password issue in ADO & MS Access2000 Databasethanks that worked when i removed the password from MSAccess.. now my ADO can connect to that database...and i can set password through ADO... BUT that dosen't lock my database! i can stll open it from MSAccess!! Why? and how can i protect my MSAccess database? f a i s a l k...@bdonline.com f a i s a l <k...@bdonline.com> wrote in message news:3a9fb708_1@dnews... Quote> Password issue in ADO & MS Access2000 Database |
Brian Bushay Team
![]() Delphi Developer |
Fri, 22 Aug 2003 00:14:33 GMT
Re:Password issue in ADO & MS Access2000 DatabaseQuote>thanks that worked when i removed the password from MSAccess.. now my ADO the proper password. Look for connection properties to open the database in single user mode if that is what you are looking for. -- |
f a i s a
![]() Delphi Developer |
Fri, 22 Aug 2003 00:56:50 GMT
Re:Password issue in ADO & MS Access2000 DatabaseNo, basicaly what i want to do is protect my database from using by other software (access) it's not a single/multi user problem. what should i do? Brian Bushay TeamB <BBus...@Nmpls.com> wrote in message Quote
|
Thérèse Hanque
![]() Delphi Developer |
Fri, 22 Aug 2003 04:20:08 GMT
Re:Password issue in ADO & MS Access2000 DatabaseHi faisal, Quote> No, basicaly what i want to do is protect my database from using by If you set a database password in Access, only those knowing the password The connection string can not set a database password, it can just stock In order to set a database password from ADO you must use JRO, but I don't Thrse |
f a i s a
![]() Delphi Developer |
Sat, 23 Aug 2003 01:18:46 GMT
Re:Password issue in ADO & MS Access2000 DatabaseThen i am back to where i've started.... if i set password from MSAccess... i can't make my connection!! what to do man??? QuoteThrse Hanquet <therese.hanq...@skynet.be> wrote in message Quote> Hi faisal, |
Thérèse Hanque
![]() Delphi Developer |
Sat, 23 Aug 2003 02:07:13 GMT
Re:Password issue in ADO & MS Access2000 DatabaseHi faisal, Quote> Then i am back to where i've started.... if i set password from I have a database with a password set in Access and there is no problem to access it through ADO as long as the connection string contains the password. What do you get as error message when you try to connect? Thrse |
Graham Plai
![]() Delphi Developer |
Sat, 23 Aug 2003 06:04:24 GMT
Re:Password issue in ADO & MS Access2000 DatabaseHi Thrse, This can be confusing at first. When you use the ado connection string What you need to do select the Jet 4.0 provider and then go to the "All" Graham Quote>Thrse Hanquet <therese.hanq...@skynet.be> wrote in message Quote> Hi faisal, |
Brian Bushay Team
![]() Delphi Developer |
Sat, 23 Aug 2003 12:23:25 GMT
Re:Password issue in ADO & MS Access2000 DatabaseQuote>This can be confusing at first. When you use the ado connection string Password. Usename and Password correspond to the user level security you put on an Access database, database password corresponds to the option |Tools|Database|Set database password' Second you can include the password in your connection string if you check the -- |
f a i s a
![]() Delphi Developer |
Sat, 23 Aug 2003 16:08:08 GMT
Re:Password issue in ADO & MS Access2000 DatabaseOk...tell me when yo set password in MSAccess... how do you set an username for that? because in access... Tools|Security|Set Database password... gives you a chance to set only Password. QuoteThrse Hanquet <therese.hanq...@skynet.be> wrote in message Quote> Hi faisal, |
f a i s a
![]() Delphi Developer |
Sat, 23 Aug 2003 16:12:41 GMT
Re:Password issue in ADO & MS Access2000 DatabaseJust tell me some thing...(this might be stupid) when i set Password & User name in ADO "All" page, does it saves in the connection? or inside the Database (*.mdb) itself? faisal QuoteGraham Plain <grahampl...@prismcomms.freeserve.co.uk> wrote in message Quote> Hi Thrse, |
Thérèse Hanque
![]() Delphi Developer |
Sat, 23 Aug 2003 18:23:09 GMT
Re:Password issue in ADO & MS Access2000 DatabaseHi faisal, Quote> Ok...tell me when yo set password in MSAccess... how do you set an different things. They are not set in the same way in Access, and they are not set in the same way in ADOConnection. Quote> because in access... Tools|Security|Set Database password... gives you a that password can connect to the database. As others explained, this is what you can set in the connection string for the property "JET OLEDB:Database Password". If you want to set user password in Access, you select also Thrse |
Thérèse Hanque
![]() Delphi Developer |
Sat, 23 Aug 2003 18:29:52 GMT
Re:Password issue in ADO & MS Access2000 DatabaseHi faisal, Quote> Ok...tell me when yo set password in MSAccess... how do you set an different things. They are not set in the same way in Access, and they are not set in the same way in ADOConnection. Quote> because in access... Tools|Security|Set Database password... gives you a that password can connect to the database. As others explained, this is what you can set in the connection string for the property "JET OLEDB:Database Password". If you want to set user password in Access, you select also Thrse |
Zarko Gaji
![]() Delphi Developer |
Sat, 23 Aug 2003 22:57:39 GMT
Re:Password issue in ADO & MS Access2000 DatabaseHi Use the connection string (say the password is 12345) like: "Provider=Microsoft.Jet.OLEDB.4.0;Jet OLEDB:Database Password=12345;Persist ............................................. "f a i s a l" <k...@bdonline.com> wrote in message news:3a9fb708_1@dnews... Quote> Password issue in ADO & MS Access2000 Database |
1. database update problem with D6 ADO/VCL, ADO v2.6, and MS Access2000
2. password access2000 + ADO + DELPHI5
3. connecting a password secured Access2000 database
4. Problem connecting to a secured Access2000-Database with ADO
5. D5-ADO-MS ACCESS 97 database-MS Office 97 Access ODBC driver-Autoincrement probs
6. D5 & MS-SQL Server 7 Licencing Issues
7. Performance issue with Jet4 (Access2000) and queries with like
8. Performance issues with Access2000