• 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: Sun, 22 Oct 2006 23:17:34 -0700

> Matt;
>
> The following code...
>
> tell application "FileMaker Pro Advanced" to tell document "Test" to tell
> table "Table1"
>      create new record
> end tell
>
>
> with a test database set up with two databases, two tables and two layouts,
> each pair named "Table1" and "Table2" .. creates a record in Table2, not Table
> 1.
>
> It doesn't seem to matter what I do, unlike many other operations "create new
> record" only seems to work in the currently visible layout.
>
> - David Crowe

The table reference needs to be in the create statement

tell application "FileMaker Pro Advanced" to tell document "Test"
       create new record in table "Table1"
end tell

Or:

tell application "FileMaker Pro Advanced"
  create new record in table "Table1" of database "Test"
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: 
 >Re: FileMaker (Pro Advanced 8) bug? (From: David Crowe <email@hidden>)

  • Prev by Date: do Shell Script & shell Script
  • Next by Date: Re: If I can defend myself... (was 'Re: FileMaker (Pro Advanced 8) bug?')
  • Previous by thread: Re: FileMaker (Pro Advanced 8) bug?
  • Next by thread: Re: FileMaker (Pro Advanced 8) bug?
  • Index(es):
    • Date
    • Thread