Overview TZConnection in the Tutorial

 
 
This is about TZConnection in connection with the page "Settings". A detailed description for TZConnection is available here.

Six parameters / properties are passed from Settings to the database connection ZConnection1. These are displayed in green in the graphic shown.

ClientCodepage
Our Setting is UTF8. No other code page should be used because it can handle almost all international fonts and Lazarus also works with UTF8.

Database
The path and the name of the database with them we are working now.

Library Location
Where the fbclient.dll of the Firebird database is located.

Password
By default, this is "masterkey" for an installed database. No password is required for the embedded database, but it can be left as it is.

Protocol
Is always "firebird" to work with Firebird

User
Is by default "SYSDBA" for an installed database. No password is required for the embedded database, but it can be left as it is.

There are still 3 red colored entries. They have been changed, but usually need not be changed by the user: ControlsCodePage, Port, TransactionIsolationLevel. A more complete description of TZConnection can be found here.
 
© CMBasic.de