Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Automatic age with date

Featured Replies

I am hoping this is simple for someone. In my insurance company database we have the birthdate of the client, but I would like their age to pop up in another field once their BDate is inputed- any takers?

Hi

try this calc ( UNSTORED ):(

Year ( Get ( CurrentDate ) ) - Year ( DOB ) - ( Get ( CurrentDate ) < Date ( Month ( DOB ) ; Day ( DOB ) ; Year ( Get ( CurrentDate ) ) ) )

  • Author

Awesome. Worked like a charm. Thank you.

  • Newbies

I used this as well, and found that it worked great for new records but will not look at my old records and change those, unless I actually enter the field and make some change.

Am I missing something in this that will auto update?

Thanks!

Do you have the calc unstored as Daniele had posted?

  • Newbies

I didn't change any of the settings to "store" anything, so doesn't that make it "unstored?"

NO.

There is an Option to Turn Off Storage, otherwise, FileMaker will store the calculation when needed.

HTH

Lee

  • Newbies

Ugh, it's been a long hard week with a database that is not being cooperative.

I had forgotten to change my field from "text" to calculation. Sigh...stupid mistake #142 of the day (or so it seems).

Thanks for your help!

  • Author

When making the calculation make sure you go into storage options to make sure that the "Do not store calculation results" is unchecked. After that you should be fine.

Jason

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.