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

Recommended Posts

Posted

Using FM7pro and server. I am trying to achieve what I thought was easy at first. It even worked for a few days!!

I have a SITE database and a SERVICE database which has a Unique ID field called(ServiceID). In the Site Database I have a field (ID0) and a field (ID1) and a Calculation Field (ID) When the date for a 'service change' is equal to 'today' or older I want the (ID) field to display (ID1) else (ID0) This is the working calculation here B)-

"If ( (Service Change Date > Current Date) or (Service Change Date = ""); Service ID0 ; Service ID1 )"

BUT the relationship needs to use the Calculation field (ID) so that the service will change AUTOMATICALLY when the date has past BUT when I setup a relationship using the calculated field it fails saying "The relationship is invalid"

Please help me - maybe there is a better way to have a lookup automactically change when a DATE goes into the past.

If its any help the relationship is working if I use it in a lookup field rather than a related field.

the relationship just says (SITE::ID = SERVICES::ServiceID)

Thanks in advance. frown.gif

Posted

Hmm, this looks like your 7th post.

Anyway, you cannot use an unstored calc as a match field. Unstored calcs are those that reference a global, related field, or get() function.

Before giving suggestions, I think we need to know why you'd use two different Service ID fields.

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