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 6308 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi,

Please help with date calculation. I am new to FileMaker and appreciate your input.

If visit = Prescreen, then Deadline_Date = Received_Date + 1 week.

Please note, the user will enter a received date and the program should calculate the deadline date.

If visit = HSCT 35 or HSCT 42 or HSCT 49 then Deadline_Date = 12/1/2008.

I have attached the filemaker file and really appreciate your help on how to write a script or calculation to perform these 2 scenarios. thank you.

Patients.zip

Posted

Here you go.

I changed your "Received_Date" to be of type "Date". Being of type date allows date math to work properly, so adding 7 moves you forward one week (FileMaker automatically understands moving over months, if this year is a leap year, etc.)

The Case() calculation function let's you choose between different possibilities and provide different results.

Patients.fp7.zip

This topic is 6308 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.