Jeff,

I think that the easiest way would be to add the selection as a layer to
the current mapper and zoom to that layer. This would result in
something like this:

Add Map Layer MyTemporaryTable
Set Map Zoom Entire Layer MyTemporaryTable

'... Put your code for creating the image here

Close Table MyTemporaryTable


I always select items into a temporary table with the NoSelect option to
avoid crashes or stops when the max number of temporary tables is
reached. If you select into "Selection" the temporary table Query*
sometimes remains open after closing the selection.

Hope this helps

Kind Regards,
 
Pieter Ouwerkerk

-----Oorspronkelijk bericht-----
Van: Jeff Card [mailto:[EMAIL PROTECTED] 
Verzonden: dinsdag 10 augustus 2004 16:30
Aan: [EMAIL PROTECTED]
Onderwerp: MI-L Mapbasic


I have a question regarding automating a couple steps of a project I am
working on using Mapbasic.   I have a familiarity with MB and a little
programming knowledge.  Here is what I am trying to do:  I have a table
of grids where I am creating an image for each grid.  What I have been
doing is selecting each cell sequentially in the browser window and
using Query>Find Selection to display it in the map window.  Then I use
the layout window and do a File>Save Window As.  I guess my question is
how would I perform the Query>Find Selection function in Mapbasic? 

Jeff Card
Cencor Realty Services
3102 Maple Ave Ste 500
Dallas, Texas 75201
(214)720-3648
[EMAIL PROTECTED]


---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 12908



**********************************************************************
De disclaimer van e-mail van de gemeente Velsen vindt u op
The e-mail disclaimer can be found here: 
http://www.velsen.nl/e-maildisclaimer0209.html 

**********************************************************************


---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 12910

Reply via email to