In lower versions it was
get cell "table::address" of current record
A quick test-a-roni and it seems to work in 8.
FMP people did a great job in a script from 3 working in 8. As with
earlier version the field must be visible on the layout.
-Mark
WWDC is the real San Francisco Treat.
On Mar 28, 2006, at 4:35 PM, Bill Steele wrote:
> In a Filemaker 8 layout I have Fields "name" "address" "phone"
>
> Address and phone are set to display data from another database of
> names, addresses, etc., linked to name.
>
> In Applescript I can say
>
> tell application "Filemaker Pro"
> set foo to cell "name:" of current record
> end tell
>
> But
>
> set foo to cell "address" of current record returns "Object not found"
>
> How do I access a related record in Applescript? Preferably
> without opening the other table.
> --
>
> Bill Steele
> [log in to unmask]
>