Calculate age in Approach
Calculate age in Approach
(OP)
I am sure this is quite simple but the formula eludes me. I have a DATE OF BIRTH field on my form and would like to have the members age calculated and displayed in another field. I know that in 123 and Excel date is a sequential number from a certain date so the math is easy. I have tried the formula TODAY-Date of BIRTH but it does not give the result I am looking for. Can anyone help with this.
Thanks wingnutnb
Thanks wingnutnb
RE: Calculate age in Approach
Today()- birthday
I hope it works for you.
RE: Calculate age in Approach
age = Trunc((Today() - DOB)/365.25)
When you subtract one date from another, the result is the number of days between the two. You can then divide by the number of days in an average year (leap years are 1 day longer).
Sue Sloan
RE: Calculate age in Approach
I now wish to create a form which will be an estimate of the cost of treatment. The text is no problem but I wish the keyed entries to be the number of units of each item of treatment (e.g. radiographs). The total cost of radiographs would then be a calculated field multiplying 'No of units' times 'Unit Cost'. In the form (or separate price list) how do I create a field for the Unit cost of a radiograph which will be used in all calculations without entering the cost in every field in every record. I know you can enter specified data in a field for every new record but there are 1500 records present at the moment. Hope I am making sense.
Eric Battison