Components for Delphi and C++ Builder.

Go to Russian forum
Go to EhLib.com
It is currently 18 Apr 2024, 22:36

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: TDBgridEh Footer row
PostPosted: 26 Mar 2018, 09:47 
Offline

Joined: 25 Mar 2018, 14:34
Posts: 11
Hello,
I have activated the footer for a column of qty with the option to make the sum.
At designe time making active the dataset the value of the sum is correct, but at runtime no!
What could be the problem ?
Thank you !

Alberto


Top
 Profile  
 
 Post subject: Re: TDBgridEh Footer row
PostPosted: 26 Mar 2018, 13:42 
Offline

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

Can you create and send a simple Demo project that would demonstrate this error?

_________________
Best regards
EhLib Support Team


Top
 Profile  
 
 Post subject: Re: TDBgridEh Footer row
PostPosted: 27 Mar 2018, 07:27 
Offline

Joined: 25 Mar 2018, 14:34
Posts: 11
Hello,
is quit difficult to attach all code, but is very simple: a TDBGridEH with the last column Quantity.
Set the FooterRowCount property = 1 on the TDBGridEh and on the column with Footer.ValueType=fvtSum.
That's all.
The strange think is that at designe time if i set Active=True on the dataset the total footer has a value, at runtime another !

Attached the result at runtime, where you can see that the result is not correct.

Thank you !
Alberto


Attachments:
InkedNuova immagine bitmap_LI.jpg
InkedNuova immagine bitmap_LI.jpg [ 251.5 KiB | Viewed 1679 times ]
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 11 guests


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:  
cron
Powered by phpBB® Forum Software © phpBB Group