Solved

calculated field

Posted on 1998-12-26
7
240 Views
Last Modified: 2010-04-04
How can I get the sum of a calculated field ?

Andrew
0
Comment
Question by:andrewyu
7 Comments
 
LVL 10

Expert Comment

by:viktornet
ID: 1353091
What calculated field?? you mean in a database??please give further explanatin...

-Viktor
0
 
LVL 1

Expert Comment

by:venks
ID: 1353092
As far as i know there is no function in delphi to get the sum automatically.
Yoy can use SQL with a query component or use quickreport expressions to get the sum of any numeric field
venks
0
 

Author Comment

by:andrewyu
ID: 1353093
That's ok !

Thank you very much !

Andrew
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

Author Comment

by:andrewyu
ID: 1353094
Adjusted points to 10
0
 
LVL 1

Expert Comment

by:skatan187
ID: 1353095
I have a component
TMathParser1 :


Expression Evaluator v1.0 for Delphi                                         http://www.bitsoft.com                                          info@bitsoft.com                                                 { This file is distributed as freeware and without warranties of any kind. }
{ You can use it in your own applications at your own risk.                }
{ See the License Agreement for more information.                          }


0
 
LVL 1

Accepted Solution

by:
skatan187 earned 10 total points
ID: 1353096
I am not sure if that's what you ment?
0
 

Author Comment

by:andrewyu
ID: 1353097
Let say, I do "select sum(area * population) from country" in TQuery !
But, if I have a calculated field, called AP, in TTable now and I want to get the sum of this calculated field ?
So, I hope to know how can I get this value !

Andrew
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question