Maptitude GISDK Help

DeleteRecord()

Summary

Deletes a record from a view.

 

Syntax

DeleteRecord(string view_name, string rec_handle)

 

Argument Contents
view_name The view containing the record to be deleted; if null, the current view is used.
record_handle The record to be deleted; if null, the current record is deleted.

 

Notes

Example

rh = LocateRecord("U.S. States", ...)

DeleteRecord("U.S. States", rh)

 

Error Codes

Error Type Meaning
Error Record_handle is null and the view has no current record; record_handle is invalid; or file writing errors (e.g. required file is read-only) occurred.
NotFound The specified view does not exist.

 

See Also

Function Summary
GetRecord() Gets the record handle of the current record of a view
SetRecord() Sets the current record of a view
AddRecord() Adds a record to a table and sets the current record
DeleteRecordsInSet() Deletes all of the records in a selection set from a view

 

 

©2025 Caliper Corporation www.caliper.com