Re: Another FMP question
Re: Another FMP question
- Subject: Re: Another FMP question
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 07 Nov 2000 19:39:05 -0800
On 11/7/00 7:20 PM, "David Graham" <email@hidden> wrote:
>
At 6:37 PM -0800 11/7/00, Paul Berkowitz wrote:
>
> is being coerced to in this meaning. I just hadn't noticed any of that
>
> before (I'm new to FMP), and had only noticed the cell element of record and
>
> of field. I wouldn't have known of the 'cell of database' shorthand, since
>
> it is _not_ in the Dictionary.
>
>
Forgive my ignorance on this, as I haven't really had the time to
>
really learn the theory behind AS, but rather have just figured out
>
how to hack my way through the simple stuff that I have needed. I was
>
under the assumption that since 'layout' was an element of database
>
and 'cell' is an element of 'layout' then it follows that 'cell' is
>
also an element of 'database' (through 'layout'). When you say 'cell
>
of database' aren't you in fact saying 'cell of layout 1 of database
>
x', since 'layout' and 'database' are optional?
>
>
Am I totally missing the way the way the object model works?
>
Well, yes, but then so it appears did the FMP AS implementers! I'm sorry I
insisted on 'document': of course you're right that layout is an element of
database, too. But that shouldn't make 'cell 1 of layout 1 of database 1'
the same as 'cell 1 of database 1', except via a coercion. What if 'cell 1
of layout 2 of database 1' is a different cell than cell 1 of layout 1 of
database 1? Which one is meant? (see below for my guess)
For example, in Outlook Express
attachment 1 of message -1 of folder 10
means the first attachment of the last (most recent) message in folder 10
(might be a folder called "Special").
attachment 1 of folder 10
doesn't mean anything, since folders don't have attachments. And how would
you know which of the 1200 messages in folder 10 is meant? Each object is
unique.
In fact, I think this must be the FMP coercion:
cell 1 of database 1
probably means
cell 1 of current layout of database 1
Anyone know for certain?
--
Paul Berkowitz