ConvertToRegion is a function and not a command, so that error message
is in fact quite meaningfull, contrary to so many other error messages
mapbasic can throw at you.

This should work better:

'**************************
update test
set obj = ConvertToRegion(assemble1)
where rowid = x
' *****************************************


Kind regards

Uffe Kousgaard
www.routeware.dk

----- Original Message -----
From: "Clement Savard" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 22, 2002 8:28 PM
Subject: MI-L MBX Problem


I'm trying to use the command ConvertToRegion in MBX

But for some unknown reason, it tell me it is an unrecognized command.

Here is part of my code :

'**************************
ConvertToRegion(assemble1)
update test
set obj = assemble1
where rowid = x
' *****************************************

Assemble1 is a polyline

Am I missing something?

It also give me the same output when I use the command Combine()

Tia

Cl�ment Savard

Land Information Technologist/ Technologue en arpentage

Real Property Geomatics Services
Services G�omatiques Immobiliers
PWGSC - Real Property Services Branch
TPSGC - Services des biens immobiliers
Station 1 - 84, 350 King Edward
Ottawa, Ontario, K1A OX1
Tel./T�l.: (613) 244-2925, Fax/T�l�cop.: (613) 244-2956
E-mail: [EMAIL PROTECTED]
Courriel: [EMAIL PROTECTED]


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



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

Reply via email to