• 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: Print current record from FileMaker?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Print current record from FileMaker?


  • Subject: Re: Print current record from FileMaker?
  • From: Simon Forster <email@hidden>
  • Date: Tue, 29 Mar 2005 10:14:45 +0100


On 27 Mar 2005, at 14:10, Erkki Pennanen wrote:

1) Does some of you know how to print the current record or
2) even know how to create PDF file from current record which could be mailed as an attachment file?


Here“s my script:

tell application "FileMaker Pro"
        open "OS X:Users:Me:Desktop:test.fp7"
   set the current record to record 2 of database "test.fp7"
       print current record of current layout of database "OS X:Users:Me:Desktop:test.fp7"
end tell

To help you in the future, you may want to check the difference between database and document in FileMaker's Apple Events Reference database (installed with FileMaker in the application's subfolder "FileMaker and Apple Events"). In a nutshell, "document" takes account of the database's current state while "database" doesn't. With this in mind, "current record... of database" doesn't have any significant meaning.


Further, the syntax for "print" is incorrect. As others have suggested, a FileMaker Pro script is probably called for here.

HTH

Simon Forster
_____________________________________________________
 LDML Ltd, 62 Pall Mall, London, SW1Y 5HZ, UK
 Tel: +44 (0)870 1999 780   Fax: +44 (0)70 9230 5247
_____________________________________________________
_______________________________________________
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


References: 
 >Print current record from FileMaker? (From: Erkki Pennanen <email@hidden>)

  • Prev by Date: Re: Showing a Package's Contents
  • Next by Date: Keychain and text returned
  • Previous by thread: Re: Print current record from FileMaker?
  • Next by thread: re: Print current record from FileMaker?
  • Index(es):
    • Date
    • Thread