Subject | Re: [IBO] connection question |
---|---|
Author | Helen Borrie |
Post date | 2001-01-11T15:29:04Z |
At 03:07 PM 11-01-01 +0000, you wrote:
BDE:
object JediMDB: TDatabase
AliasName = 'Jedi'
DatabaseName = 'Jedi'
LoginPrompt = False
Params.Strings = (
'USER NAME=SYSDBA'
'PASSWORD=masterkey')
SessionName = 'Default'
Left = 16
Top = 8
end
TIBO:
object JediMDB: TIBODatabase
DatabaseName = 'Jedi'
Params.Strings = (
'PATH=F:\jedi\root\gdb\jedi.gdb'
'USER NAME=SYSDBA'
'PASSWORD=masterkey')
Left = 16
Top = 8
end
You should be able to just open the form that contains the TIBODatabase,
view it as text and change the strings.
Helen
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________
>Hello again,Here's the difference:
>
>I've now converted my app to IBO and done the
>compile/fiddle/compile/fiddle thing and it now compiles cleanly. My
>problem now is that when I try to run it I get an ISC error which says
>that my username/password isn't defined and that I need to get the DB
>administrator to set up an IB login. Well I have already done this,
>obviously as I was loging in fine when using the BDE. I checked it
>anyway and sure enough all was ok. Just to be sure I deleted the user
>and recreated it. Still the same problem.
>
>I tried setting login prompt to true and then entered the details into
>the dialogue box and it connected up without a problem.
>
>So, what could I be doing wrong when I set the username/password in the
>TIBODatabase params property and set the login prompt to false? Do I
>need any other components beside TIBODatabase?
BDE:
object JediMDB: TDatabase
AliasName = 'Jedi'
DatabaseName = 'Jedi'
LoginPrompt = False
Params.Strings = (
'USER NAME=SYSDBA'
'PASSWORD=masterkey')
SessionName = 'Default'
Left = 16
Top = 8
end
TIBO:
object JediMDB: TIBODatabase
DatabaseName = 'Jedi'
Params.Strings = (
'PATH=F:\jedi\root\gdb\jedi.gdb'
'USER NAME=SYSDBA'
'PASSWORD=masterkey')
Left = 16
Top = 8
end
>Unfortunately the "connecting to databases" in the help files is "workIt does - once you get past the BDE Alias. :))
>in progress" but the getting started guide seems to suggest that IBO
>acts in the same way as BDE - or maybe I've missread/missunderstood
>(more than likely!)
You should be able to just open the form that contains the TIBODatabase,
view it as text and change the strings.
Helen
>tiaAll for Open and Open for All
>Paul
>
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________