Solved

Calculated Fields - How to

Posted on 1998-10-27
3
183 Views
Last Modified: 2010-04-06
Simple question. How do I define and access a calculated field in a table.

I have two field values i want to multiply, with the total going in the calculated field.

Thanks.
0
Comment
Question by:DougBennett
  • 2
3 Comments
 
LVL 8

Expert Comment

by:ZifNab
ID: 1344656
0
 

Accepted Solution

by:
dejohn99 earned 10 total points
ID: 1344657


Procedure Table1.OnCalcFields;
begin
    Table1CalculatedField1.Value := Table1FloatField1.Value * Table1FloatField2.Value;
end;
0
 

Expert Comment

by:dejohn99
ID: 1344658
Oops sorry.

To define the Calculated Field, use the Field editor.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Suggested Solutions

Title # Comments Views Activity
Mobile Keyboard covers the display of the TMemo 3 96
drawing animated level bar based on numbers 3 103
Adoquery sql  left join does not work 25 99
DBGrid or StringGrid ? 6 104
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

856 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