Solved

Problems with Delphi and MS aCCEss tables

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses
Course of the Month4 days, 13 hours left to enroll

635 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