• 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
AS does not find Filemaker database
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AS does not find Filemaker database


  • Subject: AS does not find Filemaker database
  • From: email@hidden (Gerd)
  • Date: Thu, 28 Mar 2002 11:50:42 +0100

Hallo Jay,

thank you for your answer. I tried similar scripts for example:

tell application "FileMaker Pro"
tell database "addresses"
activate
show record 1
end tell
end tell

but i always get the same message: 'Filemaker Pro' got an error - object not available.
And the line 'show record 1' is highlighted .

Does anybody know what happened. Under FM Pro 5.0 and OS 9.1 it was working.

regards

Gerd


> Hi Gerd,

> I might be confused with this, but it looks like your only wanting to display certain records with this part of
> code? If so, instead of using 'request' you could use 'show'.

> ------------------------------------------------
> tell application "FileMaker Pro"
> tell database "testfilefm"
> show (every record of database 1)
> tell layout "Layout #2"
> set MailAdresse to "John"
> show (every record whose cell "First Name" = MailAdresse)
> end tell
> end tell
> end tell
> ------------------------------------------------

> I put the 'show (every record of database 1)' at the beginning of the script so it would show all the records > and then later I could tell it what to find. I wasn't sure what 'MailAdresse' referred to. So I just made it into > a variable of "John". Sorry if this doesn't answer your question, but I hope it helps!


> Jay

>> On Wednesday, March 27, 2002, at 05:38 PM, Gerd wrote:

>> Hallo,

>> i already asked some days ago, but unfortunately did not find any answer.

>> Some weeks ago i changed from OS 9 to OS X 10.1.3 . In OS 9 the scripts works, but in OS X i always
>> get the error message: 'Filemaker Pro got an error - object not available' .
>> The line 'delete every request' is highlighted.

>> tell app 'Filemaker Pro'
>> tell database 'adresses'
>> tell layout 'adresses1'
>> delete every request
>> set theRequest to create new request
>> set cell 'email' of theRequest to '=' & MailAdresse as string
>> find
>> activate
>> end tell
>> end tell
>> end tell

>> Starting the script FM Pro has been started by the script. but there is no difference whether it was running >> or not. Because of some error the script does not find the 'database', but why ?

>> Maybe someone can help me ?

>> thanks

>> Gerd
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Error-trapping alias properties
  • Next by Date: Re: Error-trapping alias properties
  • Previous by thread: AS does not find FileMaker database
  • Next by thread: re: AS does not find Filemaker database
  • Index(es):
    • Date
    • Thread