• 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
FileMaker "current Record"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FileMaker "current Record"


  • Subject: FileMaker "current Record"
  • From: David Crowe <email@hidden>
  • Date: Thu, 23 Dec 2004 21:48:28 -0700

Title: FileMaker "current Record"
Well, I finally solved my problem. People may be interested in this, because most of the leads that I got didn't work, including:
  • Enclosing the "current record" reference in a <tell layout...>
  • Using "tell table x"
  • Using the full pathname: tell "HD:Applications:...:FileMaker Developer.app"

None of them would accept "current record".

What did work was replacing "database" by window. This snippet updates the field 'file' in the current record:

tell application "FileMaker Developer"
 
tell window "AIDS References"
                set cell "file" of current record to "filename.pdf"
        end tell
end tell

This makes sense because FileMaker now supports multiple windows, each with its own context. So a database may have multiple contexts, and the same layout may appear on multiple windows.

Anyway, hopefully this will help people also trying to convert scripts from FileMaker 6 to 7.

- David Crowe
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Unicode text and the annoying relic called "styled text"
  • Next by Date: Re: Driving Java App with Applescript, begining
  • Previous by thread: Fundamental problem with OS X Applescript?
  • Next by thread: [ANN] FastScripts 2.1
  • Index(es):
    • Date
    • Thread