Components for Delphi and C++ Builder.

Go to Russian forum
Go to EhLib.com
It is currently 07 Oct 2024, 15:28

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 17 Sep 2024, 07:58 
Offline

Joined: 14 Oct 2013, 08:27
Posts: 34
Hi all,
I've been working with C++Builder 10.1 and DBGridEh 8.3 for many years. I have just upgraded a big project to C++Builder 12.2 and DBGridEh 11.1 and everything seems to work correctly except for the number of records that appears in the lower left corner: it always shows 0. DBGridEh is connected to a TMemTableEh where records are imported. As I said, I have only recompiled the project without changing any settings. Can someone give me a clue?
Thanks in advance.


Attachments:
File comment: Example image.
Pantalla.png
Pantalla.png [ 8.87 KiB | Viewed 180 times ]
Top
 Profile  
 
PostPosted: 18 Sep 2024, 20:55 
Offline

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

Check what the Grid.SumList.RecordCount function returns.

Try debugging the Grid.SumList.RecordCount function to see why it returns 0.

_________________
Best regards
EhLib Support Team


Top
 Profile  
 
PostPosted: 19 Sep 2024, 13:17 
Offline

Joined: 14 Oct 2013, 08:27
Posts: 34
Solved!! :D

Thank you very much for pointing me in the right direction.
With EhGrid 8.3 i had in my code
Code:
Grid->SumList->Active= true;

I have commented that line and it works again (the amount of records displays correctly with Grid->SumList->Active being false :o ).
I guess I will have to reread the help manual to stay up to date with changes.


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: Bing [Bot] 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