Hello Vladimir, Tuesday, May 28, 2002, 4:54:00 PM, you wrote:
VL> Hello Mike, VL> Tuesday, May 28, 2002, 5:24:54 AM, you wrote: CMMSU2>> Mapinfo v 6.5 CMMSU2>> I can create a map based on a table with say, 1000 records and I can then CMMSU2>> create a select query that returns a subset of say 400 records. Mapinfo CMMSU2>> then only seems able to highlight the selection but I want the map to just CMMSU2>> show the 400 records. So far I have created a new map each time I have CMMSU2>> changed the criteria to create a 'refreshed' map. CMMSU2>> Is there any way I can create a a map from a select query and then refresh CMMSU2>> the map as a result of changing the query criteria without having to create CMMSU2>> a new map each time? VL> select * from SomeMap where <your_criteria> into SomeSelection VL> Map From SomeSelection I'm sorry :-) try this: 1) Set Map Window YourMapperID Redraw Off 2) Set Map Window YourMapperID Remove Map Layer SomeSelection 3) select * from SomeMap where <your_criteria> into SomeSelection noselect 'Warning! this Mapper with id YourMapperID must have more than one layer (SomeSelection). 'If mapper have only SomeSelection then after executing line 3 it 'will be closed 4) Set Map Window YourMapperID Add Map Layer SomeSelection 5) Set Map Window YourMapperID Redraw On -- Best regards, Vladimir Lashin microOLAP Technologies LLC MBBuilder - Visual Development Tool for MapBasic - http://www.microolap.com/gis/mb.htm Raster Handler for ERDAS Imagine to MapInfo - http://www.microolap.com/gis/imgrhl.htm MapInfo Callbacks Manager ActiveX - http://www.microolap.com/gis/micm.htm mailto:[EMAIL PROTECTED] http://www.microolap.com/gis/ - GIS related products --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
