Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 5950 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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

Posted

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.

This topic is 5950 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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