Hello again Peter

Thanks very much.  I've just come across the "Set CoordSys" clause/command from 
a message from Martin Spiers.  And I see this is the complete simple solution.  
Question: Have you missed out the keyword "table" in the clause, or is it 
optional for syntax 4 of the clause.

Anyway - a simple solution to a simpleton question - just what I needed :-)

Cheers

Terry

-----Original Message-----
From: Peter Horsbøll Møller [mailto:[EMAIL PROTECTED] 
Sent: 08 June 2005 22:46
To: Terry McDonnell
Subject: RE: MI-L Simpleton's Question Re: Lat/Long and Object

Okay, Terry, I can see your point about not going down the ODBC road.

Jon, has the right answer, you just need to add the Set CoordSys to specify 
which coordsys you want the coordsys in.

Function UpdateColumnsFromOBJ

        Set CoordSys STOPS
        Update STOPS
                Set     X = CentroidX(OBJ),
                        Y = CentroidY(OBJ)
        Commit Table STOPS

End Function

HTH,

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

Reply via email to