Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > DB-Aware

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 10-07-2008, 11:49 PM
yanto yanto is offline
Junior Member
 
Join Date: Sep 2008
Posts: 25
Default show sum row in dbGrid

how to show sum of numeric field on the bottom of DBGrid?
Reply With Quote
  #2  
Old 10-08-2008, 05:45 PM
davidj davidj is offline
Senior Member
 
Join Date: Jan 2001
Posts: 2,900
Default RE: show sum row in dbGrid

Have a look at SMDBGrid it has this function

http://www.scalabium.com/smdbgrid.htm
Reply With Quote
  #3  
Old 10-08-2008, 05:46 PM
davidj davidj is offline
Senior Member
 
Join Date: Jan 2001
Posts: 2,900
Default RE: show sum row in dbGrid

Image

http://www.scalabium.com/images/smdbgrid_grad.gif
Reply With Quote
  #4  
Old 10-09-2008, 08:02 PM
yanto yanto is offline
Junior Member
 
Join Date: Sep 2008
Posts: 25
Default RE: show sum row in dbGrid

i see but it's difficult to implement.
i ever see (but i forget)
if right click in the footer,
it will show a popup that shows choices :
- Sum
- Average
- Custom text
- etc
all with automatic calculation.
how ?

thanks verry much

yanto
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:44 PM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.