4D v13.4DELETE RECORD |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v13.4
DELETE RECORD
DELETE RECORD
DELETE RECORD deletes the current record of aTable in the process. If there is no current record for aTable in the process, DELETE RECORD has no effect. In a form, you can create a Delete Record button instead of using this command. Note: If the current record is unloaded from memory before calling DELETE RECORD (for example, subsequent to an UNLOAD RECORD), the current selection of table is empty after the deletion occurs. Deleting records is a permanent operation and cannot be undone. If a record is deleted, the record number will be reused when new records are created. Do not use the record number as the record identifier if you will ever delete records from the database. The following example deletes an employee record. The code asks the user what employee to delete, searches for the employee’s record, and then deletes it: vFind:=Request("Employee ID to delete:") ` Get an employee ID |
PROPERTIES
Product: 4D
INDEX HISTORY
Modified: 4D 2004 SEE ALSO |
||||||||||||||||||||||||||||||||||||||||||||||||||||||