SachAccess
Active member
- Local time
- Tomorrow, 00:03
- Joined
- Nov 22, 2021
- Messages
- 391
Hi,
I am trying to create a calculated field in MS Access Table
I have never done it before. Trying for the first time.
I have a date column in my table. I need to consider difference between Book Date and today and populate the value in the calculated field accordingly.
For example Book date is 30-Oct-22 and today is 6-Oct-2022 so the difference is less than 30 but more than 16 so the calculated field should have value as GREEN
If the difference is less than 16 and more than or equal to 5 then it should be AMBER
Anything less than 5 should be RED
I am not able to understand how to write this formula in Expression Builder. If possible can anyone please help me in this.
I am trying to create a calculated field in MS Access Table
I have never done it before. Trying for the first time.
I have a date column in my table. I need to consider difference between Book Date and today and populate the value in the calculated field accordingly.
For example Book date is 30-Oct-22 and today is 6-Oct-2022 so the difference is less than 30 but more than 16 so the calculated field should have value as GREEN
If the difference is less than 16 and more than or equal to 5 then it should be AMBER
Anything less than 5 should be RED
I am not able to understand how to write this formula in Expression Builder. If possible can anyone please help me in this.