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.

Simple Date Calculation

Featured Replies

I need some simple help:

How do you subtract two dates and then if the answer is Less than 180 days return a "1" to a field is more do nothing.

I have attached what I thought would work but as you can tell if you know what you are doing it does not work at all.

Case (

Policies::Current_Date - Background_Check_Chart_Broker::Requested_Search_Date ≤ Day ( 180 ); "1")

Thank you,

Joseph

You don't need the Day() function (which always returns a number between 1 and 31), and you don't need the Case() function:

Policies::Current_Date - Background_Check_Chart_Broker::Requested_Search_Date ≤ 180

  • Author

With out the case function how do I get this calculation to return "1" for a check box to be checked?

Thank you,

Joseph

From Filemaker Help:

Comparison operators

Comparison operators compare two values and return either True or False. (Such expressions are sometimes called Boolean expressions.) Mathematically, a result of True equals 1 and False equals 0.

  • Author

Thank you for the help...

Looks like it works now...

Thank you,

Joseph

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.