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

Recommended Posts

Posted

Hi, I'm trying to make a field display something that could be either text or a SORTABLE date (otherwise I'd just make it a text field with no problem).

Here are my 3 fields:

AtPrePressDate (date field)

Completed (text field, which is a checkbox giving "x" when checked)

Status (a calculated date field) if(Completed="x", "Completed", AtPrepressDate)

AtPrepressDate obviously displays a date ok, otherwise I get the "?" in the field. I played around using the Case function instead, but couldn't really get it to work sufficiently either. Any ideas? I'm probably forgetting something simple, I always do that. blush.gif

Posted

The calculation result must be set to text, and then the formula should be:

Case(IsEmpty(Status),AtPressDate,Status)

Or, you may have to use:

Case(IsEmpty(Status),DateToText(AtPressDate),Status)

As for it being sortable, that's a problem unless your date can be formatted as YYYY-MM-DD.

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