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

Recommended Posts

Posted

I have a calc that is looking at one field. It is a date field.

The calc field will calc the days after the last date and put a return of "eligible".

Everything works right except for the ones that have no date in them.

My Calc

Case ( Get ( CurrentDate) - (Last Walk Worked Date) > 180;"Walk Eligible";"" )

if the last walk worked field is blank then it needs to reference OriginalWalkdate field.

So I get the first calc right and if the Last walk worked field is blank then it returns a blank.

Is there a way for it to look at the different field if the primary field is blank.

Thanks in advance.

Randy

Posted

Try this:




Let ( [



_cDate =  Get ( CurrentDate);

_theDate = Case( IsEmpty ( Last Walk Worked Date ) ; OriginalWalkdate ; Last Walk Worked Date )



] ;



 Case ( ( _cDate -  _theDate ) > 180; "Walk Eligible" ; "" )

)



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