Subject | Re: [IBO] Connecting the server via network |
---|---|
Author | Helen Borrie (TeamIBO) |
Post date | 2002-01-24T09:50:17Z |
At 09:30 AM 24-01-02 +0100, Ales wrote:
Once you have set Server and Path, the Database property will "auto-fill" with the correct string, according to the protocol you select. (If you select cpLocal it will ignore the Server property in making up the connection string).
Once Server and Path are there, you can change the Database property to a "friendly" name like AccountsDB.
DatabaseName is there for VCL compatibility. It can be ignored.
You will also need to attend to the Login properties. If you want a login prompt, set the LoginPrompt property true (recommended for deployment).
For development, set LoginPrompt false, enter a Username and Password and set PasswordStorage to psNotSecure. You should improve the security level of this property for deployment.
regards,
Helen Borrie (TeamIBO Support)
** Please don't email your support questions privately **
Ask on the list and everyone benefits
Don't forget the IB Objects online FAQ - link from any page at www.ibobjects.com
>Hi,DatabaseName=SERVER_NAME:c:\data\MyDB.gdb <- let IBO construct this
>can you tell me, how to correctly setup TIB_Connection to connect FB via
>network?
>Are the only needed properties the following ones?
>
>Server=SERVER_NAME
>// INCORRECT DatabaseName=:c:\data\MyDB.gdb
>// IGNORE THIS Database=MyDB.gdb <--- NOPath=c:\data\MyDB.gdb
>// INCORRECT Path=c:\data\
>// INCORRECT Protocol=TCPIPProtocol=cpTCP_IP <--- you should select it from the property list
>What is the difference between Path and DatabaseName, DatabaseName andServer + Path = Database
>Database?
Once you have set Server and Path, the Database property will "auto-fill" with the correct string, according to the protocol you select. (If you select cpLocal it will ignore the Server property in making up the connection string).
Once Server and Path are there, you can change the Database property to a "friendly" name like AccountsDB.
DatabaseName is there for VCL compatibility. It can be ignored.
You will also need to attend to the Login properties. If you want a login prompt, set the LoginPrompt property true (recommended for deployment).
For development, set LoginPrompt false, enter a Username and Password and set PasswordStorage to psNotSecure. You should improve the security level of this property for deployment.
regards,
Helen Borrie (TeamIBO Support)
** Please don't email your support questions privately **
Ask on the list and everyone benefits
Don't forget the IB Objects online FAQ - link from any page at www.ibobjects.com