using todays date in calculated row

kobiashi

Registered User.
Local time
Today, 13:28
Joined
May 11, 2018
Messages
258
Hi


How can i use todays date in the expression builder when creating a calculated row in a table

so i want to be able to deduct todays date from another row.
 
Use the following: =Date()

thanks for the reply

i tried to use that in the formula but it didnt work

heres what i tried

Code:
LastDone - Date()
 
You have your answer, but you should note that putting calculations in a table is just NOT a good idea. Do calculations in a query. Also, do you realize that every time you open the table, you recompute the row? If the goal was to compute an elapsed time from one event to another, your computed row is NOT static.
 
Agree with the Doc.
Using calculated fields in tables is a bad idea
Do this in a query where it will work
 
thanks for the reply

i tried to use that in the formula but it didnt work

heres what i tried

Code:
LastDone - Date()

This would normally give you a negative value if LastDone is a date PRIOR to today. The calculation would normally be
Code:
Date() - LastDone
to give the number of days since the [LastDone] Date/Time.
 

Users who are viewing this thread

Back
Top Bottom