Hi Barbara, You have gotten a lot feedback on your original post. Jason's response below is the perfect technique to find the records you asked for.
I'll offer one more that may --- or may not --- suit your purpose. Often when I have the need to know whether or not a parent record has child records, I'll create a calculation field that counts the child IDs through the relationship. CountRelatedRecords = Count(parentToChild::childID) This makes it easy to find the parent records that have no child records by finding on the calc field for <1. Just another option for you. Best, Michele On 9/30/07 11:44 AM, "Jason DeLooze" <[EMAIL PROTECTED]> wrote: > To recap the correct way to Find "Parents without Child": > > 1. assume "Parent" and "Child" table occurrences are joined by > Parent::ParentID = Child::ParentID > 2. "Parents" layout is based on the "Parent" table occurrence > 3. Perform an OMIT Find Request with the criteria "*" in the Child::ParentID > field > > Here is a script fragment which implements this search > > Parents without Child script fragment: > > Go to Layout (Parents) > Perform Find[ Specified Find Requests: Omit Records; Criteria: > Child::ParentID: "*"; [Restore] ] > > This will return all Parents which have no related Child records. -- Michele Olson AppleSauce Productions, Inc. 218-327-2671 www.applesaucepro.com FileMaker Certified Developer | FileMaker Business Alliance
