Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 301
  • Last Modified:

use delphi connect database interbase

I use delphi connect database interbase,when i run program which request username and password.How to when I run project don't need input database's username and password?.
0
doaitram
Asked:
doaitram
1 Solution
 
doaitramAuthor Commented:
help me
0
 
MotazCommented:
What database components do you use, I assume you are using InterbaseExpress
In ibDatabase component, click on Params and write this on it:

user_name=sysdba
password=masterkey

Turn LoginPrompt to False

Motaz
0
 
nestoruaCommented:
HI,
As already said Motaz in your TDatabase component set LoginPrompt property to False, and in Params property write
proper login information.
Sincerely,
Nestorua.
0
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!

 
doaitramAuthor Commented:
I do as you said but when run progam ,dialog display need username and password
0
 
MotazCommented:
that means you do not change ibDatabase component's LoginPrompt property to False or you specified wrong username or password

Motaz
0
 
doaitramAuthor Commented:
Why I create table have column type timestamp ,when I use delphi's datagrid to display the table then the column not display,another columns display. I use WindowXP
0
 
doaitramAuthor Commented:
Thanh you Motaz.I sussessful ,however now I have a problem.
Why I create table have column type timestamp ,when I use delphi's datagrid to display the table then the column not display,another columns display. I use WindowXP
0
 
MotazCommented:
it should be displayed,
did you tried to run select * from yourtable in IBConsole

also try to use ibQuery to get that data instead of ibTable and tell me what is the result
Motaz
0
 
doaitramAuthor Commented:
delete
0
 
CleanupPingCommented:
doaitram:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0

Featured Post

Industry Leaders: 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!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now