• 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 found set
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Filemaker found set


  • Subject: Re: Filemaker found set
  • From: Jonathan Bird <email@hidden>
  • Date: Wed, 19 Nov 2003 16:48:45 -0600

Hi there,

this is kind of weird. If you use the following, it returns the actual
found count:

tell application "FileMaker Pro"
copy (count record of first document) to recordsFound -- # records
end tell

recordsFound=2 (I had found 2 of 10 records with a search)

but if you structure the script like this, the result is the record
count:

tell application "FileMaker Pro"
tell database "test.fp5"
tell document 1
copy (count record) to recordsFound -- # records
end tell
end tell
end tell

recordsFound = 10


I guess you will have to be carefull of which document is "first
document"... but i tested this with two documents open, had the one I
wanted to count activated, but the script returned the found count of a
second document... Strange one here. Anyone else have any pointers
here.

Hope this helps.
Jonathan B.

On 19-Nov-03, at 3:02 PM, John Dulion wrote:

> What is the correct verbiage to use only the found set of records
> within Filemaker.
> If I have found set of 14 records and 16 total records. My script will
> repeat through all 16.
> The script text I am using is:
> tell application "FileMaker Pro"
> activate
> tell database "First-List 0.fp5"
> tell document 1
> set recordCount to count of records
> --script body
> end tell
> end tell
> end tell
>
>
> I am using OS X 10.2.8, FMP 6.04 and Script Debugger 3.06.
> _______________________________________________
> 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.
_______________________________________________
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.

References: 
 >Filemaker found set (From: John Dulion <email@hidden>)

  • Prev by Date: Re: UI Scripting of FileMaker
  • Next by Date: Re: Getting label from a record (part 2)
  • Previous by thread: Re: Filemaker found set
  • Next by thread: Re: Getting label from a record (Reasons)
  • Index(es):
    • Date
    • Thread