It works, but i would like to do that automatically with Mapbasic 5 (i know,
it's an old version !)

The method I use is :

1)Selecting the "parent" Region
===============================
Select Obj From mytable Where RowID=id1

2)Setting target
================
Set Target On

3)Selecting "child" Region
==========================
Select Obj From mytable Where RowId=id2

4)Merging the regions, keeping data into the row
================================================
Objects Erase Into Target Data col1=col1, col2, col2, coln=coln

It works, but the line with rowid id1 is deleted from mytable, and another
line is added AT THE END of this table

I don't understand

Thank you for you help

Christophe

-----Message d'origine-----
De : Stephen Morris [mailto:[EMAIL PROTECTED] 
Envoy� : mardi 16 novembre 2004 16:59
� : 'Christophe Brabant'; [EMAIL PROTECTED]
Objet : RE: MI-L Holes into a Region ?


Draw the main region

Draw the hole

Select the main region

Pick Objects>Set Target

Select the hole

Pick Objects Erase - this puts the hole into the region

Delete the hole region - it is no longer required.

I believe there are other routes to the same result

HTH
Stephen

-----Original Message-----
From: Christophe Brabant [mailto:[EMAIL PROTECTED] 
Sent: 16 November 2004 15:52
To: [EMAIL PROTECTED]
Subject: MI-L Holes into a Region ?

Hi

Does someone know how to draw the holes into a Region ? (that means, for
example, that if I click with the mouse into the hole, the polyline or
region is not detected)

Thank you - Chris


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.796 / Virus Database: 540 - Release Date: 13/11/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.796 / Virus Database: 540 - Release Date: 13/11/2004
 


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


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

Reply via email to