Skip 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.

case calc for age range.

Featured Replies

Not sure what I'm doing wrong but as in the past these seems very easy for others. Below is my calc. I need to find males between the age of 18 and 24 and females between the ages of 16 and 24.

My "c_Curent_Age" field just stores their age in number of years. so 12, 13, 14... its not a FM date.

"Unstored, from Contact, = Case (

Contact::Gender ="male" and c_Current_Age ≥ 18 and not c_Current_Age < 25; "male" ;

Contact::Gender ="female" or "Female" and Contact::c_Current_Age ≥ 16 and not Contact::c_Current_Age < 25; "female" ;

"" ) "

As always your suggestions are greatly appreciated.

The "not" seems peculiar.

Also, if this a calculation in Contact, why are the referenced fields in the form of related fields?

Edited by Guest

  • Author

see i knew it would be easy.

taking out the not ( i tried it with and without before) and cleaning up the calc after moving it from one table to anther its working.

thanks a million

Good. BTW, the empty default result is not required.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.