 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
pcerdaz Guest
|
Posted: Tue Feb 06, 2007 9:10 am Post subject: Authentication and Commit questions |
|
|
Hi, I'm migrating from Paradox to InterBase and there is a lot
of advance, however I have two questions:
1. Why my application is not asking me for Commit to made
changes over tables? I need to modify the adecuate property to
manage both Commit and Roolback; these are two importante
characteristics that like me to change to InterBase.
2. Any time when I start my application I must to authenticate
with valid username and password to Interbase. How can I step
over this authentication process?
Thank you,
pcerdaz |
|
| Back to top |
|
 |
Antonio Felix Guest
|
Posted: Tue Feb 06, 2007 3:38 pm Post subject: Re: Authentication and Commit questions |
|
|
"pcerdaz" <pcerdaz (AT) manquehue (DOT) net> wrote:
| Quote: |
Hi, I'm migrating from Paradox to InterBase and there is a lot
of advance, however I have two questions:
1. Why my application is not asking me for Commit to made
changes over tables? I need to modify the adecuate property to
manage both Commit and Roolback; these are two importante
characteristics that like me to change to InterBase.
2. Any time when I start my application I must to authenticate
with valid username and password to Interbase. How can I step
over this authentication process?
Thank you,
pcerdaz
|
Hi,
1. Use the TIBTransaction component to control the actions,
Commit or Rollback. This is something that you need to control
yourself.
2. You may use the TIBDatabase Params property to feed in
the Login Information:
....
TIBDatabase *IBDb;
....
IBDb->Params->Add("user_name=YourUSer");
IBDb->Params->Add("password=YourPw");
IBDb->Params->Add("lc_ctype=ISO8859_1");
IBDb->DatabaseName = "Your Database Name;
IBDb->Open();
.....
Also set the LoginPrompt of TIBDatabase to false
HTH
Antonio |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|