On 30/9/07 05:03, "barbpassman" <[EMAIL PROTECTED]> wrote: > I found that if I added the name fields of the related records to a > list view of the parent records,I can then sort the list using the > name fields of the related record. > Records where the name fields of the related record are blank appear > at the end of the list. Simple scrolling down until I get to the > entries showing no related record names. > Voila > Those are the thirty one parent records where there are no related > entries in the second table.
I think there are a number of ways to achieve what you want. It's simply that your original method doesn't work because of the way Filemaker treats finds across relationships. Depending on how often you have to do this and what the purpose is, you might consider a calculation in the parent table. (You haven't really been clear in this thread what the point is; the above comment suggests that you are perhaps doing a one-off analysis of your data.) For example, Count(YourRelationship::YourMatchField) will return the count of related records. You can do a find on this for 0 or for 1 or whatever number you wish. It will be slowish (because the field has to be unstored) but perhaps no slower than the finds you are attempting. I find such a count field is often useful when trying to get the measure of a dataset with related data. You can do it the other way round, too, in the child file, to check for orphaned records. Steve
