Three simple FMP questions
Three simple FMP questions
- Subject: Three simple FMP questions
- From: Paul Berkowitz <email@hidden>
- Date: Sun, 08 Jul 2001 18:10:10 -0700
1) Is there any way to get the file path of an open FMP document, so that
you can close it, then re-open it later? Or any other way to do the same
thing?
2) Is 'database' _really_ an element of 'document', in the usual meaning?
Can you have more than database belonging to the same document? How? I don't
see any way in the UI, and if you try it in AppleScript you actually end up
with a new document as well as a database, which in fact does not belong to
the document you created 'at'. It seems to me that 'document' and 'database'
refer to the same object except insofar as you need to get a particular
property you have to use one designation or the other, yes?
3) I don't seem to be able to 'get' every database (or document), nor any
property, such as 'name', of 'every database' (or document) but I can 'set n
to count (every document)', then do a repeat loop to get the name of each
one. Is this the only way to do it? That in itself seems odd, and it's
still not helping find a way to close and reopen any of them.
Does anyone have any idea why such a nutty object model was concocted? Is
there some advantage?
--
Paul Berkowitz