Can anyone see the problem with this code in my SelChangedHandler?:
_______________________________________
note "Eastings = " + str$(stop.eastings)
 Update STOP
  Set Northings = CentroidY( OBJ),
   Eastings = CentroidX( OBJ),
   Last_Udate = CurDate()
  where RowID = gnRowID ' Change the N/E values to the new coords in the
OBJ, after the move
_______________________________________
 
I put the note in as a debug aid to a) satisfy myself that I was getting
into the handler, and b) to confirm that Stop.Eastings exists.
 
But at run-time I get an error on the Set.. command, to the effect that
Eastings doesn't exist.
But the note works.
 
I quadruple-checked that the field IS actually called this, and that
it's spelt right, and that the syntax of the command is as in Help.  It
doesn't object to Northings.
 
Me flummoxed!
 
'ppreciate it
 
Terry

Reply via email to