I have two fields that contain dates: Start Date and End Date
I have another field (Week) that contains a string of dates.
I need to somehow write an IF Statement to compare the fields and return a value of 1 if True and 0 if False.
For example, If Start Date = 10/31/05 and End Date is 11/04/05 and Week = "10/31/05 - 11/04/05" , 1 should be returned. Since Week is text, there is no match.
So, my overall goal is IF Start Date and End Date are equal or between the Week string, then return 1, 0.
Thoughts?
I have another field (Week) that contains a string of dates.
I need to somehow write an IF Statement to compare the fields and return a value of 1 if True and 0 if False.
For example, If Start Date = 10/31/05 and End Date is 11/04/05 and Week = "10/31/05 - 11/04/05" , 1 should be returned. Since Week is text, there is no match.
So, my overall goal is IF Start Date and End Date are equal or between the Week string, then return 1, 0.
Thoughts?