Updates data held in the specified cursor to reflect any relevant changes in the open item.
Visual Basic |
---|
Public Function UpdateCursorItem( _ ByVal cursor As String _ ) As Integer |
If an item is open in more than one cursor then UpdateCursorItem should be called for each cursor containing the item.
If an item is opened and edited whilst moving through a cursor then UpdateCursorItem must be called to prevent disruption to the looping move operation.
Available: GEO MM ME MD OD OM SISpy
Group:
sis.OpenCursorItem ("MyCursor")
sis.SetStr(SIS_OT_CURITEM, 0, "UPRN$", "123456")
sis.UpdateCursorItem ("MyCursor")
Having opened an item from MyCursor’s current row and changed an attribute, UpdateCursorItem is called to ensure the data in MyCursor for this item matches the new data value on the item.
Send comments on this topic.
Click to return to www.cadcorp.com
© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).