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.

Featured Replies

I have an age calc

Let ([

today = Get(CurrentDate);

datedif = today - birthday+1];

Year ( datedif ) -1

)

I put it in as an custom function. This has worked fine, until I enlarged the network and put filemaker server 7 on and every now an then it will not calc the field. I have indexing turned off and at a loss for what the problem might be. Is there something on the server that need to be selected so that it calculates that field everyday.

Thanks in advance.

Randy :)

1. The calculation field must be unstored.

2. This is not a good way to calculate age - see here why:

http://fmforums.com/forum/showpost.php?post/150140/

Hi agaperrk,

[color:red]comment has linked several threads regarding "Age" calculations in his Blog, you should take a few minutes to read them here.

HTH

Lee

Edited by Guest

  • 3 weeks later...
  • Author

I am still having trouble with the age calc. The file is running on a server.. with clients and It calcs right but it is not calculating when the clients open. So the age will change if you make a change in the field and then put back. but if it has been a year since messing with the file it does not calc until you play with the date field.

It is like you have to manually change the date.

Let([n = Get(CurrentDate); b = Birthday];

Year(n) - Year(: - ((Month(n) + Day(n) / 100) < (Month(:) + Day(B) / 100))

)

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.