• 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: Found records count in Filemaker 6/OS X-Solved
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Found records count in Filemaker 6/OS X-Solved


  • Subject: Re: Found records count in Filemaker 6/OS X-Solved
  • From: Dan Doughtie <email@hidden>
  • Date: Mon, 14 Mar 2005 09:53:08 -0500

Title: Re: Found records count in Filemaker 6/OS X-Solved
I figured it out. In my sample I used “document” but in reality I was using “database”. So if you ask for a count of records in “database XYZ” you get the entire count. If you ask against “document XYZ” you get  the found count. What threw me was I had a tell to the “database” and later tried a  “of document “xyz.fp5”  within the tell to the Database xyz.fp5 and it wouldn’t work. I changed the outer tell and it now works.

Dan
--

Dan Doughtie
Business Analyst
Morris Technology Services
706-823-3464
AIM: MTSDanD

Nothing contained in this e-mail is intended to be an offer to commit Morris Communications Company to any purchase, sale, contract or other course of action.



From: Simon Forster <email@hidden>
Date: Mon, 14 Mar 2005 04:38:00 -0500
To: "Doughtie, Dan" <email@hidden>
Cc: AppleScript Users <email@hidden>
Subject: Re: Found records count in Filemaker 6/OS X



On 14 Mar 2005, at 02:08, Dan Doughtie wrote:

> Tell app "Filemaker Pro"
> Tell document "MyDB.fp5"
> Set myCount to count of records
> End Tell
> End Tell

Works fine for me (FMP 6v4).

Check that the database exists and is open.

Make sure that you have an up-to-date copy of FileMaker Pro. Earlier
versions of FMP 6 has some AppleScript issues IIRC.

HTH

Simon Forster
_____________________________________________________
  LDML Ltd, 62 Pall Mall, London, SW1Y 5HZ, UK
  Tel: +44 (0)870 1999 780   Fax: +44 (0)70 9230 5247
_____________________________________________________

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Found records count in Filemaker 6/OS X (From: Simon Forster <email@hidden>)

  • Prev by Date: Re: Finder selection
  • Next by Date: Re: File Vault Issue
  • Previous by thread: Re: Found records count in Filemaker 6/OS X
  • Next by thread: Finder selection
  • Index(es):
    • Date
    • Thread