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

Recommended Posts

  • Newbies
Posted

Newbie question.

I am trying to use the case function to select data from one field if before a certain date, and another after the date.

I have used the following, but it behaves as though its not interpreting the date correctly. When I try the same with If, a similar thing happens. I am using an old database in fp5 for this.

case(visit date > 6/30/2004, related field 1, visit date <= 6/30/2004, related field 2)

thanks for the help.

dcs

Posted

Try using: case(visit date > Date(6,30,2004), related field 1, related field 2)

Also make sure that visit date is a date field, and related field 1, related field 2 and the calculation field are the same data type.

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