Components for Delphi and C++ Builder.

Go to Russian forum
Go to EhLib.com
It is currently 09 Dec 2024, 03:59

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: UniDac problem
PostPosted: 16 Oct 2024, 09:22 
Offline

Joined: 28 Aug 2021, 10:18
Posts: 5
Hi.
Does EhLib work properly with UniDAC? I have Ehlib 11.1, UniDAC 10.3.0 and Delphi 10.4.
When I had ZEOS connected to the database controls, everything worked OK.
The problem is that after executing Post, a record is added but without the master key on the server (PostgreSQL).


I have the following database component settings:

TDataSource -> TMemTableEh ->TDataSetDriverEh -> TUniQuery


In the code it performs adding a record:

DM.MemTableEhRozpoznania.Append;
...
DM.MemTableEhRozpoznania.Post;
DM.MemTableEhRozpoznania.Resfresh;

Unfortunately, the Id field that the sequence is supposed to fill in on the PostgreSQL server is not filled in automatically.


Attachments:
2024-10-16 11_16_37-pgAdmin 4.png
2024-10-16 11_16_37-pgAdmin 4.png [ 10.92 KiB | Viewed 773 times ]
2024-10-16 11_14_46-Ustawienia.png
2024-10-16 11_14_46-Ustawienia.png [ 19.67 KiB | Viewed 773 times ]
Top
 Profile  
 
 Post subject: Re: UniDac problem
PostPosted: 29 Oct 2024, 07:23 
Offline

Joined: 08 May 2014, 18:06
Posts: 688
Hello

Try to connect DBGridEh to TUniQuery without TMemTableEh and check the result.

_________________
Best regards
EhLib Support Team


Top
 Profile  
 
 Post subject: Re: UniDac problem
PostPosted: 06 Nov 2024, 08:20 
Offline

Joined: 28 Aug 2021, 10:18
Posts: 5
EhLibSupport wrote:
Hello

Try to connect DBGridEh to TUniQuery without TMemTableEh and check the result.


Hi. When I bypass TMemTableEh the generator works fine.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group