Uniconnection + firebird embeded

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Suhaimin
Posts: 79
Joined: Mon 06 May 2013 12:19

Uniconnection + firebird embeded

Post by Suhaimin » Fri 30 Jan 2015 12:17

Hello,

can someone give example how to connect with Uniconnection + Uniquery to firebird embeded in delphi ? thanks

FredS
Posts: 272
Joined: Mon 10 Nov 2014 17:52

Re: Uniconnection + firebird embeded

Post by FredS » Fri 30 Jan 2015 16:57

TestConnection.ProviderName := 'InterBase';
TestConnection.Server := EmptyStr;
TestConnection.Database :=AppPath + 'db\database.fdb';
TestConnection.Username := 'SYSDBA';
TestConnection.Password := 'masterkey';
TestConnection.SpecificOptions.Values['InterBase.ClientLibrary'] := AppPath + 'db\fb\fbclient.dll';
TestConnection.Connect;
if TestConnection.Connected then
begin
ShowMessage('Connection Successful!');
TestConnection.close;
end;

Suhaimin
Posts: 79
Joined: Mon 06 May 2013 12:19

Re: Uniconnection + firebird embeded

Post by Suhaimin » Sat 31 Jan 2015 12:12

I have connected TUnitable to TUniconnection and TDbgrid. why i cannot direct insert data into Tdbgrid? database firebird embeded.Tunitable.readonly := false. thanks

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Uniconnection + firebird embeded

Post by ViktorV » Mon 02 Feb 2015 08:32

Please describe the problem in more details: you can't insert a record, an error is generated when inserting a record, your changes are not applied.

Suhaimin
Posts: 79
Joined: Mon 06 May 2013 12:19

Re: Uniconnection + firebird embeded

Post by Suhaimin » Mon 02 Feb 2015 14:02

Hello,

No error occurs.just I cannot press any key in TCRDBgrid like TCRDgrid.readonly OR TUnitable readonly, but if i use TUniquery i can press any key in TCRDgrid( insert data is ok).whats wrong with TUnitable? thanks

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Uniconnection + firebird embeded

Post by ViktorV » Tue 03 Feb 2015 05:41

Unfortunately, we could not reproduce the issue. Please send a small sample to demonstrate the issue to viktorv*devart*com, including a script to create and fill in the test database object.

Post Reply