G
glovesoff
Hi, I'm pretty new to Access, but I imagine this will be an easy fix.
I'm building a client census for a home health agency.
I have a Clients form that I fill out, and it puts the information in my
Clients table. One of the fields is Age at Admission, which uses DateDiff to
calculated a client's age from data in a Date of Birth field and Admission
Date field.
here is my code that is in the Control Source property of the Age At
Admission form field:
=DateDiff("yyyy",[DOB],[Admit Date])
Now, it's calculating the data correctly, as I can tell from scrolling
through the entries in Form View, but it isn't putting the calculation into
my Clients table (even though it puts all other information I enter into the
table).
So how can I get this calculated number to go from my Form into my Table?
Thanks!
I'm building a client census for a home health agency.
I have a Clients form that I fill out, and it puts the information in my
Clients table. One of the fields is Age at Admission, which uses DateDiff to
calculated a client's age from data in a Date of Birth field and Admission
Date field.
here is my code that is in the Control Source property of the Age At
Admission form field:
=DateDiff("yyyy",[DOB],[Admit Date])
Now, it's calculating the data correctly, as I can tell from scrolling
through the entries in Form View, but it isn't putting the calculation into
my Clients table (even though it puts all other information I enter into the
table).
So how can I get this calculated number to go from my Form into my Table?
Thanks!