Article View: borland.public.cppbuilder.database.ado
Article #1175Re: Newbie:key error when try to open MS Access DB
From: Viatcheslav V. Vassiliev
Date: Tue, 19 Oct 2004 12:37
Date: Tue, 19 Oct 2004 12:37
29 lines
2036 bytes
2036 bytes
User name and password are needed if you have system.mdw file that stores this information. If you need to set database password, use "Jet OLEDB:Database password" property in connection string: Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\test.mdb;Jet OLEDB:Database password=XXX //------------------------------------------ Regards, Vassiliev V. V. http://www.managed-vcl.com - using .Net objects in Delphi for Win32 + ADO.Net http://www.oledbdirect.com - The fastest way to access MS SQL Server, MS Jet (Access) and Interbase (through OLEDB) "Dufour" <scste2000@virgilio.it> �������/�������� � �������� ���������: news:417425f6@newsgroups.borland.com... > I made a database by MS Access and I want to operate with it in Borland C++ > Builder environment. If I try to open it by SQL Exlorer I need to log in, > that is I must insert user name and password of MS Access. But, what I have > to insert? Always it replies "key error" and "Database Engine Error". What I > have to do? > > Thanks. > >
Technical Details
Message-ID:
<41750a8d$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<417425f6@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,154b6fce37a8ec77 X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com> Newsgroups: borland.public.cppbuilder.database.ado References: <417425f6@newsgroups.borland.com> Subject: Re: Newbie:key error when try to open MS Access DB Date: Tue, 19 Oct 2004 16:37:33 +0400 Lines: 31 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 NNTP-Posting-Host: 213.234.218.42 Message-ID: <41750a8d$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1098189453 213.234.218.42 (19 Oct 2004 05:37:33 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail