Solved

Problems with Delphi and MS aCCEss tables

Posted on 2000-04-16
5
141 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
  • 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 100 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

830 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