Thank you Mike, Brian, Shannon and Jim, Mike's code is working properly. But after running this code I had to remove the source layer from which I select points in order to see "only" the selected points. (or make the layer invisible) murat ____________________________________________________________________ Get free email and a permanent address at http://www.netaddress.com/?N=1 ---------------------------------------------------------------------- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]