sviksna
asked on
Problems with Delphi and MS aCCEss tables
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.
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.
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 :-)
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 :-)
ASKER
Btw, is it possible to build the alis at the runtime
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
Regards,
Epsylon.
Regards,
Epsylon.