Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Hi

Does anyone know how to force FM to reindex an indexed field?

I want to create a key that points at either the date in the record or if the record in over due to point to today. As today's date is an unstored calc, I had to use a getField() in the key so that FM will index it. This worked but now it won't update itself (ie today's date) as it is stored in the index.

Any ideas?

Thanks

Posted

Well, yes - it cannot be indexed if it's not stored, and if it's stored it will not update. Try moving the unstored current date to the left side of the relationship.

Posted

The conclusion does not follow from the given. If you have a relationship:

cToday => TaskDueDate

the portal will show today's and past due tasks. cToday is an unstored calculation of Get (CurrentDate).

You will need to add another criterion to the relationship to filter out completed tasks, or create a calculation field =

Case (IsEmpty ( CompletionDate ) ; TaskDueDate )

and use that in the relationship instead of TaskDueDate.

Posted

that nearly fixed it just needed to stop it picking up the blank field values from Case (IsEmpty ( CompletionDate ) ; TaskDueDate ) in cToday => TaskDueDate Rel

and it did the trick.

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