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

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

Recommended Posts

Posted

In my old FMP 5.5 files. I used the "go to related records" script step and the Current found count function to trigger a message when no related record is found. The message appears if the current found count =0 after the "go to related records" step.

I converted the files to Version 7. It seems that if no related record is found, the found set in the related file will not change. the found set would be the same as if the "go to related records" script step didn't run. The found cout would not change to 0 accordingly; therefore, I could not trigger the message. I think I can re-write my scripts, use find script to achive the same result. If you know that it's still possible to use the "go to related records" script step in this case, could you please let me know how? I hope I can salvage my old scripts. Thanks in advance.

Posted

Make it easier on yourself and test for related records before going to them.

If [isEmpty(relationship::serial)]

Show Custom Dialog ["There are no related records."]

Else

Go to Related Records

End If

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