C
Chuck W
Hello,
I have a table called tblPatients with about 200,000 records with two date
fields. One is AdmitDate and the other is DateOfBirth. I am trying to
calculate two additional fields based on these date fields. One is called
AgeYears which is ([AdmitDate]-[DateOfBirth]/ 365). I want to calculate
another field called AgeDays. which is the AdmitDate-DateOfBirth. However, I
only want to have a value be shown if it is less than one year or <366 days.
If it is more than 365 days, I want the value to appear blank. I still want
my query to return all 200,000 records in my table and not just those who are
a year old or less. Can someone help?
Thanks,
I have a table called tblPatients with about 200,000 records with two date
fields. One is AdmitDate and the other is DateOfBirth. I am trying to
calculate two additional fields based on these date fields. One is called
AgeYears which is ([AdmitDate]-[DateOfBirth]/ 365). I want to calculate
another field called AgeDays. which is the AdmitDate-DateOfBirth. However, I
only want to have a value be shown if it is less than one year or <366 days.
If it is more than 365 days, I want the value to appear blank. I still want
my query to return all 200,000 records in my table and not just those who are
a year old or less. Can someone help?
Thanks,