On Nov 8, 2006, at 4:38 AM, Joe Barwell wrote:

> On Tue, 7 Nov 2006, Mark Lively <[log in to unmask]> wrote:
>
>> My suggestion was to use a filemaker script that has one step
>>
>> goto related record [Show only related records]
>>
>> Then have an applescript which is
>>
>> Tell application "FileMaker Pro"
>> 	do script "RelatedRecords"
>> 	get every record of layout "Data Layout"
>> end tell
>
> Hello Mark,
>
> The applescript step that you describe must be occurring from  
> within the child file's context, right? I had thought you were  
> offering a solution from within the parent file's context, i.e.  
> from the original "end" of the relationship/tunnel. My mistake.

I have a couple of prototype files at work that I can email you.

The first command is in the context of the "Parent" file.  That is  
the one that contains the portal.  The goto related records command  
makes the other file active for the second part to work on just the  
related records.