• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: FileMaker (Pro Advanced 8) bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FileMaker (Pro Advanced 8) bug?


  • Subject: Re: FileMaker (Pro Advanced 8) bug?
  • From: Bruce Robertson <email@hidden>
  • Date: Fri, 20 Oct 2006 15:06:58 -0700

> If I create a simple test database with two tables, "Table1" and "Table2" with
> two layouts with the same names, no relationships between them, then the
> following code (executed when Layout Table2 is on the screen):
>
>
> tell application "FileMaker Pro Advanced" to tell document "Test" to tell
> layout "Table1"
>      create new record
> end tell
>
> creates a record in Table2. Adding "at layout/table/database "Table1" just
> generates an error (Object Not Found). In fact, everything works the same as:
>
>
> tell application "FileMaker Pro Advanced"
>      create new record
> end tell
> which creates a new record in whichever table is on the current layout.

This is as you would expect.

You didn't tell it to GO to the other layout.

Try this:

tell application "FileMaker Pro Advanced"
 tell document "Test"
   go to layout "Table1"
       create new record
  end tell
end tell

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: FileMaker (Pro Advanced 8) bug?
      • From: David Crowe <email@hidden>
References: 
 >FileMaker (Pro Advanced 8) bug? (From: David Crowe <email@hidden>)

  • Prev by Date: Re: Date trouble
  • Next by Date: Re: FileMaker (Pro Advanced 8) bug?
  • Previous by thread: FileMaker (Pro Advanced 8) bug?
  • Next by thread: Re: FileMaker (Pro Advanced 8) bug?
  • Index(es):
    • Date
    • Thread