• 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: Matt Deatherage <email@hidden>
  • Date: Sat, 21 Oct 2006 01:25:45 -0500

On 10/20/06 at 10:08 PM, David Crowe <email@hidden>
wrote:

But I don't want to go to the other layout! If I do that then the
screen view changes. I don't need to do that to read/write fields from
the database, so I don't know why I should have to do that to create a
record.

What you want, I think, is the "Apple Events Reference" database
(installed with FileMaker in the "English Extras" folder, at least on my
system). It says:


Use the Layout object to move between layouts, to generate reports, or
to restrict the available fields.
When working with a layout, FileMaker Pro considers only the fields
that are on that layout plus the related fields if any.
In early versions of FileMaker, FileMaker has introduced layout 0 to
give access to all fields in a table. FileMaker still supports layout
0, but it will only give you access to the first table of the
database. To get access to all fields in all tables, use the table
object instead.

A "layout" is more the way that records are presented on screen than
full access to the database. What you appear to want is the "table"
object, not the "layout" object. Granted, in older FMP versions,
"layout" was about all you could use in some cases, but that's not the
case anymore.


Find the table in which you want to create the record, then:

    tell table "Table1" -- or whatever
        create new record
    end tell

It should make you much happier.

--Matt

--
Matt Deatherage                              <email@hidden>
GCSF, Incorporated                      <http://www.macjournals.com>

2006 will be a perfectly ordinary year - the kind that's not only divisible
by 2, but also by 17 and 59.



_______________________________________________ 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
References: 
 >Re: FileMaker (Pro Advanced 8) bug? (From: David Crowe <email@hidden>)

  • Prev by Date: Re: Date trouble
  • Next by Date: Re: Comprehensive Applescript Reference Book (Re: Applescript equivalent of $0 in shell script)
  • Previous by thread: Re: FileMaker (Pro Advanced 8) bug?
  • Next by thread: Re: FileMaker (Pro Advanced 8) bug?
  • Index(es):
    • Date
    • Thread