Jump to content
Salesforce and other SMB Solutions are coming soon. ×

Auto refresh of a field


BL Splash

Recommended Posts

I have an age field that looks at another date of birth field to display the age.

 

I was just looking at some of the records and a few have had a birthday have come and gone and the field doesn't update itself.

 

Is there a way to do that? I thought I had seen a script for it, but can you run a script in a calc field?

 

Any help would be very greatful.

 

Blake

Link to comment
Share on other sites

Function Today is recalculated when the host closes and reopens the file.

 

 

 

If your db may not be closed and reopened once a day at least, you might opt for the Insert Calculated script step.

 

 

 

Here's the calc field definition for age (or calculation to be inserted):

 

 

 

NumToText(Year(Today) - Year(DateOfBirth) - Case(Today< Date(Month(DateOfBirth), Day(DateOfBirth), Year(Today)), 1))

Link to comment
Share on other sites

This thread is quite old. Please start a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

Terms of Use