removeselected

The removeselected statement deletes all selected records from the database.


Parameters

No parameters.


Description

The removeselected statement deletes all selected records from the database. Once they are removed, the records cannot be recovered unless you have previously saved them on the disk. The removeselected statement will not ask the user to confirm before deleting the records; it assumes that the procedure writer knows what he or she is doing. After deleting the selected records, all remaining records will then be selected and visible. This statement has the same effect as the menu command “Delete Selected Records.”

This example deletes all records with Date prior to the current year.

select Date < year1st(today())
removeselected

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0 (although it was apparently undocumented).