🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

How?

#2102
From: Chris Morris
Date: Thu, 13 Aug 1998 00:00
23 lines
1503 bytes
I am using Delphi 3 and Microsoft Access 7.0 (Office 95).

I want to be able to use a LOCAL Microsoft Access database in my
Delphi 3 application.  I can successfully setup and ODBC driver for my
database.  I can also set it up just fine using a BDE alias.

I set up a Data Source, a Table, and a DBGrid component.  I set the
appropriate properties for each component.  When I run the program I
get a login dialog box for the database.  All I have to do is click
the OK button and my application runs normally.  I know that with a
TDatabase component, you can turn this off, but in order to use a
DBGrid, I have to use a Data Source component.

Does anyone know how I can suppress this login dialog and still use a
DBGrid?

Thanks in advance.


Chris Morris
President, Mojo Software
www.mojosoftware.com
cpmorris@mojosoftware.com
Technical Details
Message-ID: <35d248f0.8457275@news-server>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: ff75c,9bcb5bf1cd83f18e,start
X-Google-Attributes: gidff75c,public
X-Google-Thread: 115d96,9bcb5bf1cd83f18e,start
X-Google-Attributes: gid115d96,public
From: cpmorris@tampabay.rr.com (Chris Morris)
Subject: How?
Date: 1998/08/13
Message-ID: <35d248f0.8457275@news-server>
X-Deja-AN: 380605103
X-Complaints-To: abuse@tampabay.rr.com
X-Trace: newse2.tampabay.rr.com 902973928 24.92.206.119 (Wed, 12 Aug 1998 22:05:28 EDT)
Organization: Mojo Software
NNTP-Posting-Date: Wed, 12 Aug 1998 22:05:28 EDT
Newsgroups: borland.public.delphi.database,borland.public.delphi.database.desktop