• 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 - Scripting Remote DataBase
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: FileMaker - Scripting Remote DataBase


  • Subject: RE: FileMaker - Scripting Remote DataBase
  • From: "Steve Valenti" <email@hidden>
  • Date: Tue, 15 Jun 2010 16:12:13 -0400
  • Thread-topic: FileMaker - Scripting Remote DataBase

Adding the "go to layout layoutname" didn’t help. If you take the command “create new record” it does make a new record but the set variable gets no reference to it. Then if you try to add “go to MyRequest” on the next line it will error because the object can’t be found. What is with Remote Databases. This is like buying on off-road vehicle  and only allowed to drive it on a road…

Steven

 

 

 

 

Try throwing a "go to layout layoutname" in there right after the tell database. For what you're doing, you really shouldn't have to, but I've seen that work before.

 

Geoff

 

On Jun 15, 2010, at 1:41 PM, Steve Valenti wrote:



I built scripting to automatically populate a database and everything works great when I open the database on the machine. Now I need to move this database to FileMaker Server and open it on a client as a remote database and run my scripting to keep populating it. However scripting of a remote database doesn’t behave the same. Here are two examples when trying to script a remote database that you don’t get any results to work with. If you were to run one at a time it really shouldn’t error. FileMaker Server 11 doesn’t seem to be the trouble because I tried just sharing from FileMaker Pro 10 software with the same results.

 

tell application "FileMaker Pro Advanced"

          tell database "NameOfDataBase.fp7"

                   show every record

                   delete every request

                   set MyRequest to create new request --Error

                   --Object not found. (-1728)

                  

                   set NewRecord to create new record --Error

                   --Object not found. (-1728)

          end tell

end tell

 

Does anyone have any experience in scripting remote databases? The show every record command works. What makes remote DB different?

 

Thanks!!!

 _______________________________________________
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/archives/applescript-users

This email sent to email@hidden

  • Prev by Date: FileMaker and DataBase EVents
  • Next by Date: Re: iPhoto returns a real number as a photo id
  • Previous by thread: Re: FileMaker - Scripting Remote DataBase
  • Next by thread: RE: FileMaker - Scripting Remote DataBase
  • Index(es):
    • Date
    • Thread