Lifeseeker
Registered User.
- Local time
- Yesterday, 17:25
- Joined
- Mar 18, 2011
- Messages
- 273
Hi,
I have a calculated field on the form, but I'm having trouble using the datediff formula.
The idea is....I would like to first see if the time difference between two time fields is less than 2 days. If it is, then I want that field A to equal to "Yes", otherwise, "No".
In the expression box, I set the field A to equal to:
=if(DateDiff("d",[tbl_Record]![Regular_CT_Scan_Result_Available],[tbl_Record]![Start_Date])<=2,"Yes","No").
when I run the form, field A remains empty regardless.
Could anybody point me in the right direction?
Thank you very much
I have a calculated field on the form, but I'm having trouble using the datediff formula.
The idea is....I would like to first see if the time difference between two time fields is less than 2 days. If it is, then I want that field A to equal to "Yes", otherwise, "No".
In the expression box, I set the field A to equal to:
=if(DateDiff("d",[tbl_Record]![Regular_CT_Scan_Result_Available],[tbl_Record]![Start_Date])<=2,"Yes","No").
when I run the form, field A remains empty regardless.
Could anybody point me in the right direction?
Thank you very much