🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.database
Article #231

Re: How to access MS Access db?

#231
From: Alfred ten Hoeve
Date: Wed, 29 May 2002 21:23
40 lines
2336 bytes
No password is needed.
To get rid of that, put a TDatabase on your Datamodule or form.
Set the Aliasname.
Open the Params-property and type this 2 lines:
user_name=''
password=''

Close the listbox and link all your tables to the databasecomponent.
Set the LoginPromt property for the Dtabasecomponent to false.

Alfred.


"Wim" <sky84784@skynet.be> schreef in bericht
news:3cef7af2$0$8140$ba620e4c@news.skynet.be...
> Hi,
>
> I'm busy writing an application using Delphi 5 to use an existing MS
Access
> database at work.
>
> I'm writing this on my homecomputer where I created my own Access tables
to
> work with them first before trying on the rather large existing tables at
> work.
>
> My problem is that every time I try to activate the MS Database using the
> TTable and TDatasource components, I get a popup window that asks me to
> enter the username and login.
> I already tried several passwords that I used on my computer but I doesn't
> give me access. The problem is that I never used neiter my Access program
or
> the BDE engine. So, I never entered any passwords for them.
>
> Do I have to reinstall anything?
>
> Tx,
> Wim.
>
>
Technical Details
Message-ID: <3cf54949$0$224$4d4ebb8e@news.nl.uu.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.news.rcn.net!rcn!dc1.nntp.concentric.net!newsfeed.concentric.net!newsfeed.icl.net!newsfeed.icl.net!lnewspeer00.lnd.ops.eu.uu.net!lnewsifeed02.lnd.ops.eu.uu.net!bnewspost00.bru.ops.eu.uu.net!emea.uu.net!news.nl.uu.net!not-for-mail
References: <3cef7af2$0$8140$ba620e4c@news.skynet.be>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 115d96,40513b1a541c55cd
X-Google-Attributes: gid115d96,public
X-Google-ArrivalTime: 2002-05-29 14:36:00 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.news.rcn.net!rcn!dc1.nntp.concentric.net!newsfeed.concentric.net!newsfeed.icl.net!newsfeed.icl.net!lnewspeer00.lnd.ops.eu.uu.net!lnewsifeed02.lnd.ops.eu.uu.net!bnewspost00.bru.ops.eu.uu.net!emea.uu.net!news.nl.uu.net!not-for-mail
From: "Alfred ten Hoeve" <Alfred.NoSpam@SimpelProg.nl>
Newsgroups: borland.public.delphi.database
References: <3cef7af2$0$8140$ba620e4c@news.skynet.be>
Subject: Re: How to access MS Access db?
Date: Wed, 29 May 2002 23:23:04 +0200
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Lines: 42
Message-ID: <3cf54949$0$224$4d4ebb8e@news.nl.uu.net>
NNTP-Posting-Host: 1Cust15.tnt30.rtm1.nl.uu.net
X-Trace: 1022708041 news.nl.uu.net 224 213.116.154.15
X-Complaints-To: abuse@nl.uu.net