Here is some bug - error posting string value edited in national codepage! How fix it? I use IBX connection, codepage WIN1251 (russian).
Mail me yumata@ufanet.ru
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have been fix this bug! In InstantIbx.pas you need
some patch:
function TInstantIBXConnectionDef.CreateConnection(
AOwner: TComponent): TCustomConnection;
var
Connection: TIBDatabase;
begin
Connection := TIBDatabase.Create(AOwner);
try
Connection.DatabaseName := DatabaseName;
Connection.SQLDialect := 3;
///******** My bug-fix *****************///
Connection.LoginPrompt:=false;
Connection.Params.Clear;
Connection.Params.Add('user_name=SYSDBA');
Connection.Params.Add('password=masterkey');
Connection.Params.Add('sql_role_name=');
Connection.Params.Add('lc_ctype=WIN1251');
///*********** My bug-fix *************///
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Welcome to Help
Hi,
I want to take a part in IO project.
Where i can download source files.
Dmitry Konnov
programmer@mail.spbnit.ru
Here is some bug - error posting string value edited in national codepage! How fix it? I use IBX connection, codepage WIN1251 (russian).
Mail me yumata@ufanet.ru
I have been fix this bug! In InstantIbx.pas you need
some patch:
function TInstantIBXConnectionDef.CreateConnection(
AOwner: TComponent): TCustomConnection;
var
Connection: TIBDatabase;
begin
Connection := TIBDatabase.Create(AOwner);
try
Connection.DatabaseName := DatabaseName;
Connection.SQLDialect := 3;
///******** My bug-fix *****************///
Connection.LoginPrompt:=false;
Connection.Params.Clear;
Connection.Params.Add('user_name=SYSDBA');
Connection.Params.Add('password=masterkey');
Connection.Params.Add('sql_role_name=');
Connection.Params.Add('lc_ctype=WIN1251');
///*********** My bug-fix *************///