• 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: Another FMP question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Another FMP question


  • Subject: Re: Another FMP question
  • From: David Graham <email@hidden>
  • Date: Tue, 7 Nov 2000 22:29:51 -0800

At 4:48 PM +1100 11/8/00, Shane Stanley wrote:
I'm certainly no authority on FM Pro. Layout 0 is covered in the Apple
Events Reference in several places; what isn't mentioned is that it is
optional to specify it, although some of the samples ("count cells of
database 1") imply this.

As I mentioned in my last post, it *is* mandatory to specify layout 0. Take a look at this:

count cells of layout 0
-- 3276

count cells
-- 126

count cells of record 1
-- 2

count cells of record 1 of layout 0
-- 2

You may have gotten lucky and gotten the results you were after (as in the second example) by not specifying it, but it isn't optional.

Have a a look through the Apple Events Reference, but ignore it's object
model; the stuff showing databases as elements of documents is very
misleading.

The funny thing is I actually found the FM object model to make more sense than anything else I have tried to learn in AS. Maybe it's my warped sense of logic. :)

I believe that the 'database' object is an element of 'document' since a FM database is by definition 'only a collection of fields and records' which would make it an element of the document which also provides the state of the database (current found set). I think that the real confusion lies in the definition and naming of the objects and not it's object model.

- Dave

--

==============================================================

David Graham Partnerships With Industry
MIS Manager 7540 Metropolitan Dr., #105
voice : 619.681.1999 San Diego, CA 92108
fax : 619.681.1990 http://www.pwiworks.org
AOL IM: dmgraham22 mailto:email@hidden

"We assist persons with disabilities to work in the community"
==============================================================


  • Follow-Ups:
    • Re: Another FMP question
      • From: Shane Stanley <email@hidden>
References: 
 >Re: Another FMP question (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Another FMP question
  • Next by Date: FMP question
  • Previous by thread: Re: Another FMP question
  • Next by thread: Re: Another FMP question
  • Index(es):
    • Date
    • Thread