Jump to content

shared key, find records InOneTable, not the other


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

Recommended Posts

Posted

I have an ID that is used as the key in many tables.

I want to find all records from one table where there is no corresponding record in another table where both have the same key field.

Sorry for such a simple question.

Posted

To do this with a simple find, perform a find for the related ID with omit. In a script it would look like this:

Go to Layout [ SomeLayoutBasedOnLocalTable ]

Enter Find Mode []

Set Field [ RelatedTable::PrimaryID ; "*" ]

Omit Record

Perform Find []

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