Jacques,
        I just started playing with this today and had the same error you
had.  However, I only experienced it when I accessed the hidden layout table
through the MapBasic window. After playing around with the hidden layout
table I found that the error is displayed when the tab_info_tabfile option
of the tableinfo function is called.  
        Attached is a small MB program I wrote that fetches each object in
the first layout and returns information about it.  If the object is a text
object, then the text string is returned.  If the object is a frame object,
then the name of the window it references is printed.  This program was just
a test to see how the hidden tables worked.  Reply if you have any
questions.  
        So far as I can tell, there are no adverse effects from the "File #0
not registered for access" error message.

Hope this helps,

John C. Hollingsworth
Director of GIS Programming
[EMAIL PROTECTED]

-----Original Message-----
From: Jacques Paris [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 26, 1999 4:00 PM
To: [EMAIL PROTECTED]
Subject: MI selecting in a layout


MapBasic help states under "Table Fundamentals"

>>Similarly, each Layout window can be treated as a table. The following
statement selects all objects from a Layout window:

Select * From Layout1   <<

If I do just that from the mapBasic window, I get a note "File #0 not
registered for access".

I have not tried it in the mbx format. I would not dare to do it yet until
someone kindly tells me what I am doing wrong, or rather not doing, because
it is the only statement I write after setting up a layout window.

MB 5 (was doing it on 4.5)

TIA

Jacques Paris
============================================================
e-mail        [EMAIL PROTECTED]

gis activity (MapInfo mainly)
      http://www.total.net/~rparis/gisproducts.htm
============================================================

----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

LayoutTest2.mb

LayoutTest2.MBX

Reply via email to