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.

calculate age and year

Featured Replies

I currently use my db to record responses from patients taking part in research projects. i often ask questions about medical history and patients can either tellme that they had a particular treatment either when they were X years old orthey may give the year of the treatment. i wantt o have two fielsd one iwth age and one with year so either piece of information can be enetered and the other one is auto calculated useing DOB. I can get it to calculate age from year, but then it wont allow me to overide it and enter a n age without the year...can anone help

Age -> Case( Get(ActiveFieldName) = "YearTreatment" ; YearTreatment - Year(dob); Age )

YearTreatment -> Case( Get(ActiveFieldName) = "Age"; Year(dob) + Age; YearTreatment )

Both fields are numbers with their auto-entered calculation and 'Do not replace existing value for field' deselected.

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.