Re: Count in Filemaker Pro
Re: Count in Filemaker Pro
- Subject: Re: Count in Filemaker Pro
- From: Nigel Smith <email@hidden>
- Date: Tue, 29 Oct 2002 15:52:59 +0000
On 24/10/02 10:14 am, "Craig Taylor" <email@hidden>
wrote:
>
I have the following statement in a script which has always worked in OS 9
>
and Filemaker Pro 5.x. I have just try running the same script in OS 10.2
>
with same version of Filemaker and I get an object not found error?
>
>
tell application "FileMaker Pro"
>
set databaseCount to count of documents
>
end tell
>
>
Thanks
>
Craig
If you want a workround inside AppleScript, rather than using a field in
FileMaker, you could base it on this:
tell application "FileMaker Pro"
try
repeat with x from 1 to 10000000
-- or other unfeasible number
get class of document x
end repeat
on error
return (x - 1)
end try
end tell
HTH,
Nigel
_______________________________________________
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.