Re: FileMaker Object Not Found Error
Re: FileMaker Object Not Found Error
- Subject: Re: FileMaker Object Not Found Error
- From: "Larry Staton Jr." <email@hidden>
- Date: Mon, 15 Sep 2008 21:23:11 -0400
On Mon, Sep 15, 2008 at 8:53 PM, Tim Mansour <email@hidden> wrote:
>
> On 16/09/2008, at 1:21 am, Larry Staton Jr. wrote:
>
>> Again, for all attempts, FileMaker creates the record and returns a
>> row id for that record, then raises the "Object Not Found" error when
>> asked to insert data into that new record.
>
>
> Starting with the obvious ... can you verify for us the contents of "d" in
> your script?
>
> --
> Tim Mansour <email@hidden>
The contents of d are text. Joe pointed to the correct answer. To
create a new record in FileMaker (at least for a hosted solution), you
must create the new record with data at a table of your database.
tell application "FileMaker Pro"
create new record with data {"data"} at table "myTable" of database
"myDatabase"
end tell
Note that this fails if you "tell" the table "myTable" to create the new record!
Larry Staton Jr.
_______________________________________________
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