RE: MI Info button trouble?

1999-10-04 Thread Sue Port
Hi Karl, I'm not sure why it happens but you can fix it by typing the following in the mapbasic window: Set Window 1008 Position(1,1) Hope this helps. Regards, Sue. adding Susan Port value Technical Support Coordinator to [EMAIL

RE: MI Losing Z values

1999-09-30 Thread Sue Port
Hi Laith, We have a free program called "Contour to DXF Plus" that translates a MapInfo table to a DXF file with a z value (which is stored in a column). To get a free copy, download it from http://www.spatialplus.com/products.htm Hope this helps. Regards, Sue.

RE: MI Search Replace

1999-09-30 Thread Sue Port
Hi Ben, We have a free program called "Search Plus" that can do a search and replace on workspace files for an entire directory. To get a free copy, download it from http://www.spatialplus.com/products.htm Hope this helps. Regards, Sue. adding

RE: MI SQL select syntax

1999-09-27 Thread Sue Port
Hi Laith, There are number of ways to select the rivers and creeks. Here are a few: Select * From Where Name Like "% RIVER" Or Name Like "% CREEK" (Using a wildcard %) Select * From Where Instr(1,Name," RIVER")0 Or Instr(1,Name," CREEK")0 (Looking at the position of "RIVER" or

RE: MI Making a Floating Toolbar Dockable

1999-09-17 Thread Sue Port
Hi Mansour, Because it isn't a standard MapInfo toolbar, the "Save as default" won't work. What you'll need to do is insert the word "Fixed" into your "Create Buttonpad" command. Eg Create ButtonPad "Utility" As PushButton HelpMsg "Choose this button to display Selected objects"

RE: Where to look for Help with MI functions?

1999-09-13 Thread Sue Port
Hi Steven, We have a tabular list of all the MapBasic commands with a brief description of each that can be used in a SQL statement. Go to http://www.spatialplus.com/infobase.htm and click on the last SQL question. Hope this helps. Regards Sue

RE: MI image coordinates

1999-09-08 Thread Sue Port
Hi Jon, I don't know of any MBX out there that can do what you require but if you have MapBasic the following code shows how to get the pixel and map coordinates for a mapper. Type Rectangle Left As Integer Top as Integer Right as Integer Bottom as Integer End Type Declare Function

RE: MI Raster image registration question

1999-09-07 Thread Sue Port
Hi Fran, Sounds like there's a zoom range set for the image layer. The zoom range for raster images is automatically set when they are added to a mapper so if you're zoomed out a long way on a high resolution image it will not be drawn. You can turn off the zoom layering by going to the layer

RE: MI Objects Outside

1999-09-06 Thread Sue Port
Hi Markus, You could do it via a subquery so the SQL would look something like this: Select * From relation1 where NOT obj Within Any (Select obj From relation2) However this SQL can get slow if you are dealing with large tables (I think it does the subquery for every record in relation1). A

Re: MI Moving Raster Images to different directories w/o re-registering

1999-09-02 Thread Sue Port
Hi Chad, If you have a heap of tab files to edit you could download our free utility called Search Plus that can do a bulk search replace on all the tab files in a directory. To download a free copy of Search Plus go to http://www.spatialplus.com/products.htm Regards, Sue.

RE: MI View Entire Layer

1999-08-26 Thread Sue Port
Hi Ctlu, Use the following command to do a view entire layer: Set Map Window {WindowID} Zoom Entire Layer {LayerNo} where {WindowID} is the Window ID of the mapper {LayerNo} is the layer number (1=topmost layer} Hope this helps. Regards, Sue.

RE: Deleting replicate data points in MI 5.0 table

1999-08-25 Thread Sue Port
Hi Tim, One way to get rid of your duplicate points would be to do a SQL with a "group by" and re-generate the points through the "Create Points" command. 1. Do the following SQL statement: Select {Tag},Format$(CentroidX(obj),"#.") "X", Format$(CentroidY(obj),"#.")"Y" From

RE: MI Area overlap

1999-08-20 Thread Sue Port
Hi Peter, One way to do your query would be using the following SQL example: I'm assuming the following naming conventions (so just replace them for your situation): A Management Unit and a Land Use Table called Manage and Land with a column in each called Name (ie the description of the

RE: MI Linking tool

1999-08-20 Thread Sue Port
Hi Fraser, We liked your idea so much we've put it in the latest version of Link Plus (Version 1.7.4). Link Plus now asks you whether you want to load the linked table, workspace or MapBasic application into your current MapInfo session. Download the latest free version from our website at

RE: MI MapBasic: ButtonPad Close Action

1999-08-12 Thread Sue Port
Mark, You can disable the X on a buttonpad by using the following mapbasic command: Set Window ButtonPadInfo("{Pad Name}",6) SysMenuClose Off The other way of issuing the "Alter Menu Item.." when a user closes a buttonpad, would be difficult as the WinCloseHandler command doesn't work on

RE: MI Phantom Tables!

1999-08-10 Thread Sue Port
Ian, You could probably fix it by editing the workspace through a text editor such as notepad. Near the top of the workspace will be an "Open Table " statement that opens the elusive phantom table. Take this entire line out and save the file. With a bit of luck you should be able to read

RE: MI Custom Lables

1999-08-08 Thread Sue Port
Bill, You can clear the custom labels for a particular layer by typing the following in the mapbasic window : Set Map Layer {x} Label Default where {x} is the layer number (1=the top most layer) Hope this helps. Regards, Sue. adding Susan Port

RE: MI Workspaces

1999-08-04 Thread Sue Port
Roger, The most common command that is new to version 5.5 which is sometimes put in the workspace is the printer settings. This command is usually a few lines up from the bottom of the file and starts with "Set Window FrontWindow() ...". If you take this line out as well as editing the version

RE: MI Joining two columns of one table

1999-08-04 Thread Sue Port
Alistair, You can use the Update Column command to join two columns together. In your case, first create an extra column through Table|Maintanence which is at least as big as the two columns you want to join together plus one. Now use the "Update Column" command to update the new column with an

RE: MI Default symbol

1999-08-02 Thread Sue Port
Mariano, Instead of putting the "Set Style Symbol ..." statement in the mapinfo.wor workspace, put it in the startup.wor under your MapInfo directory. If you don't have a startup.wor there, just create one. Regards, Sue. adding Susan Port value

RE: MI OBJECT TEXT TO ATTRIBUTE TEXT

1999-07-28 Thread Sue Port
this helps. Regards, Sue Port. http:\www.spatialplus.com Hello all Is there any way to Take object text and make that objects have an attribute ie I have 3 text objects with no attribute information 1A 2A 3A I would like text object 1A to have the attribute 1A THUS OBJECTAT