I see two ways:

1. Run Menu Command M_QUERY_INVERTSELECT
Do remember to include the Menu.def in your module

I have seen some cases where this didn't work. Ithink it was if the current selection 
is made from a join, but I'm not sure.

2. Use the NOT operator in your select statement:
Select * From TABLE1 Where Not OBJ Overlap Any (Select OBJ From TABLE2)

This might be pretty slow on larger datasets

Peter Horsb�ll M�ller
GIS Developer
Geographical Information & IT

COWI A/S
Odensevej 95
DK-5260 Odense S
Denmark
 
Tel     +45 6311 4900
Direct  +45 6311 4908
Mob     +45 5156 1045
Fax     +45 6311 4949
E-mail  [EMAIL PROTECTED]
http://www.cowi.dk


> -----Original Message-----
> From: John Polasky [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, March 16, 2004 12:03 AM
> To: [EMAIL PROTECTED]
> Subject: MI-L Selection Overlap
> 
> 
> Good Afternoon Listers-
> 
> Does anyone out there know how to perform an inverse select 
> within MapBasic???  I'm trying to perform a selection that 
> will take any given point in one table and select all points 
> in another table, that DO NOT overlap the point in the first 
> table.  I want program to ignore occurrences of overlap.  If 
> you have a trick, I'd appreciate it...Thanks!!
> 
> Sincerely,
> 
> John E. Polasky
> Geographic Information Systems Manager
> The Schwan Food Company
> Home Service - West
> 115 West College Drive
> Marshall, MN  56258
> 
> phone - 507-537-8631
> 
mailto:[EMAIL PROTECTED]

Web: http://www.theschwanfoodcompany.com/ 

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



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

Reply via email to