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

x
?
Solved

Problems with Delphi and MS aCCEss tables

Posted on 2000-04-16
5
Medium Priority
?
144 Views
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.
0
Comment
Question by:sviksna
[X]
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
5 Comments
 
LVL 13

Expert Comment

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

Regards,

Epsylon.
0
 
LVL 2

Expert Comment

by:mullet_attack
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

Mark

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

Author Comment

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

Accepted Solution

by:
Epsylon earned 300 total points
ID: 2723431
0
 
LVL 13

Expert Comment

by:Epsylon
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!!!

Regards,

Epsylon.
0

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