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

find related record or new record/request


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

Recommended Posts

Posted

You can use the IsValid() function or the Lookup() function to test for the existence of a foreign key in the related table that matches your primary key. If it exists, you can go to the related record, and if it doesn't you can then run a script to add a new record in the related table, or prompt the user to take action, etc.

Posted

It's better, and faster, to use IsEmpty when testing for related records. IsValid should be used to test data type mismatches (similar to field validation), whether a related table/file currently exists or has been renamed without updating the relationship, and whether a related field currently exists or has been deleted.

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