Jacques,
 
Sorry for the confusion. I know the selection is from only one table.
I want to select all objets that I am seeng in the mapper, but from only one table.
Something like this:
 
Select obj from Table where obj Within (CreateRect(x1,y1)(x2,y2)), but the problem is I can not find a function to create a virtual rectangle !
Why I want to select the objets in only one intruction ?.  Becasue I have a Visual Basic app connected with MI via OLE, so
the best for me is solve the problem in only one instruction. Another possibility could be create an object variable with the Create Rect and after use this object in the Selection. Have you got another best idea !
 
Regards
 
----- Original Message -----
Sent: Friday, January 19, 2001 9:23 AM
Subject: RE: MI-L Selection window objets

Selection in MI is set to work on one layer at the time only. The basic reason is simple: the resulting selection is a MI table, complete with its tabular data; how would MI know that all the tables that are in one mappper have the same structure and that cases coming from those tables can be stored in a common structure table?

 

If you can guarantee that identical structure, then may be you could find some third party code that would do what you are looking for, but MI did not take that risk.

 

Jacques

 

Jacques PARIS

 

e-mail  (>>>19.12.00)  [EMAIL PROTECTED]

 

For MapInfo support, see the Paris PC Consult enr. site  at http://www.total.net/~rparis/gisproducts.htm

 

For MapBasic questions see the J.Paris site at    http://www.total.net/~jakesp/index.htm

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of MAGS (Mapping Global Solutions)
Sent: January 19, 2001 5:12 AM
To: MapInfo-L
Subject: MI-L Selection window objets

 

Hi All

 

1. Is it possible in only one SQL Select, to select all objetcs within the FrontWindow ? (I mean all object I am seeing in the window)

 

2 After drawing a polygon in the cosmetic, is it possible to select all object whithin it in only one SQL Select ?

 

thank you list !

Reply via email to