Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Problems with Delphi and MS aCCEss tables

Posted on 2000-04-16
Medium Priority
Last Modified: 2010-04-04
Hello, Experts.

I have been working with ASP and now
i decided to use CGIs writen in Delphi security for.

I got problem, when i add the access table in DSN and try to open it trought DSN in delphi Table object, it's aksing a login/password at runing (even, at choosing table name). But the Login/Pass is ''/'', i mean, 0 lenght.. no specified....

what to do and how to fight with that, becouse in nonvisual mode it isn't acceptable for me.

Hoping on solution,
Sandis Viksna.
Question by:sviksna
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
LVL 13

Expert Comment

ID: 2720475
Set TDatabase.LoginPrompt to false...



Expert Comment

ID: 2721683
A little bit more detail..

add a TDatabase component
set AliasName to the Databasename you were using for the table
set databasename to whatever you like
set LoginPrompt to false

with the table component, set the databasename property to be the same as the databasename property of the TDataBase


(sorry Epsylon if I stepped on your answer :-)

Author Comment

ID: 2722642
Btw, is it possible to build the alis at the runtime
LVL 13

Accepted Solution

Epsylon earned 300 total points
ID: 2723431
LVL 13

Expert Comment

ID: 2723450
Btw, if you have Delphi 5, I strongly suggest to take a look at the ADO components. They are really easy to use with Access. I personally think they are great!!!



Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question