Re: Scripting Filemaker 8.5.. (HEEELP)
Re: Scripting Filemaker 8.5.. (HEEELP)
- Subject: Re: Scripting Filemaker 8.5.. (HEEELP)
- From: Tim Mansour <email@hidden>
- Date: Thu, 12 Apr 2007 14:21:42 +1000
On 12/04/2007, at 9:25 am, Jay Louvion wrote:
I keep getting the same error, whatever I do: “Filemaker Pro got an
error: object not found” on the first line
Jay in FM7+ you need to be careful about specifying where the field
is, because FM now allows multiple tables in one file.
For instance, your line:
set StreetName to cellValue of cell "Adresse" of current record
of document 1
Should be changed to something more like:
set StreetName to cell "Adresse" of current record of current layout
or
set StreetName to cell "Adresse" of current record of layout
"LayoutName"
Remember that in FM7+ each layout is associated with a table
occurrence, and has its own found set and current record.
Also, if you're referring to global fields you might use:
set foo to cell "globalField" of table "tableName"
--
Tim Mansour <email@hidden>
_______________________________________________
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