Solved

Problems with Delphi and MS aCCEss tables

Posted on 2000-04-16
5
138 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

743 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now