8 replies
by maevinn Accepted solution
Now()-Field1 works fine. It won't happen in a table view, because that's recursive. You're asking it to tell you a date that's XX days ago, when XX hasn't been identified.
Setting it up in a report, use the formula above (preferably with some formatting) and it will be just fine. Or modify the data entry form to perform the calculation and update a field in the table, unless you need the value to always be XX from NOW(), rather than XX from the date the record was entered.
by Former member Accepted solution
=DateAdd("d",-[Age 1],[Date])
I used this to get the date to count back whatever the number of days were in the Field (Age 1). It works. Thing is, I can't count back from the current date, I have to count back from the date the data was collected and put in Age 1 (via pocket pc).
by tony hopkinson Accepted solution
e.g
Update MyTable
Set [DateSomeDaysAgo] = DateSubtract("d",[Age1],[Date])
Where [DateSomeDaysAgo] is null
by maevinn Accepted solution
by arkman Accepted solution
Try
=DateAdd("d",-[Age 1],date())
by Former member Accepted solution
I just read my earlier post, I should have said - I must use the date that came in from the pda, not the current date. So what I did works. I'd rather have it be in the table. How is that possible?
by maevinn Accepted solution
This discussion is closed to new replies.
Trending Software posts
Sort by Trending