hardhitter06
Registered User.
- Local time
- Yesterday, 20:40
- Joined
- Dec 21, 2006
- Messages
- 600
Hi,
On an access 2010 form, I have created a formula to calculate the "Year" difference between two dates and I want to add this difference to one of my form fields that feeds my table.
I am probably approaching this wrong but this is what I have done.
Added a hidden text field "Text12" which stores today's date "=Date()".
I then added another hidden text field "Text10" which stores this formula:
"=Year([Text12])-Year([FirstMissingDate])"
The difference is stored in Text10 but I need this to feed back into my table so I need it stored in an actual field in the table called "YTDMissing".
So I guess my questions are:
1. Is this the best way to do this
2. If so, how do I push the Text10 data (date calculation difference) into the field "YTDMissing"?
Thank you,
On an access 2010 form, I have created a formula to calculate the "Year" difference between two dates and I want to add this difference to one of my form fields that feeds my table.
I am probably approaching this wrong but this is what I have done.
Added a hidden text field "Text12" which stores today's date "=Date()".
I then added another hidden text field "Text10" which stores this formula:
"=Year([Text12])-Year([FirstMissingDate])"
The difference is stored in Text10 but I need this to feed back into my table so I need it stored in an actual field in the table called "YTDMissing".
So I guess my questions are:
1. Is this the best way to do this
2. If so, how do I push the Text10 data (date calculation difference) into the field "YTDMissing"?
Thank you,