John,
You way is certainly more elegant and faster. I buy it. But it does not
prevent a requester to appear when trying to close the mapper.
Jacques Paris
[EMAIL PROTECTED]
MapInfo support > http://www.paris-pc-gis.com
Jacques Paris
[EMAIL PROTECTED]
MapInfo support > http://www.paris-pc-gis.com
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Hollingsworth,
John C.
Sent: May 14, 2001 2:28 PM
To: MIL
Subject: RE: MI-L MI: edited cosmetic
You may be better off using the following syntax:
delete from layerinfo(frontwindow(),0,1)
This method does not create a table that must then be closed.
-----Original Message-----
From: Jacques Paris [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 14, 2001 1:37 PM
To: MIL
Subject: MI-L MI: edited cosmetic
If one wants to clear cosmetic objects from a mapper, in MB, he can "run
menu command 810", but that command opens up a requester to find out if you
do not want to save the objects before they are scrapped. To avoid that, one
can try "select * from layerinfo(frontwindow(),0,1) into sel" followed by a
"delete from sel".
No requester appears and the layer is cleared. So far so good but when the
mapper is closed by hand, another requester asks if some objects should not
be stored to a WOR. But no objects whatever are thus stored in the said WOR.
The search for a "no requester" solution has lead to the question: is this
behaviour (asking to save non existing objects) unavoidable? Or is it a
"semi"- bug? (MI checking only if the layer has been edited but not if there
are objects left on that layer)
All that with MI6.0
Jacques Paris
[EMAIL PROTECTED]
MapInfo support > http://www.paris-pc-gis.com
_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.
_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.
_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.