The deletechildren statement deletes all the records in another database that have a value in the key field that is equal to the key value.
This statement has three parameters:
database – Name of database containing the “child” records.
keyfield – Name of the field you want to search in.
keyvalue – Value in records to be deleted.
This statement deletes all the records in another database that have a value in the key field that is equal to the key value. Note: As a side effect, all remaining records in the target database will be selected.
This example deletes all the records from the My Contacts database that have the value
"Acme" in the Organization field. It will not delete a record which contains
DeleteChildren "My Contacts", "Organization", "Acme"
|10.0||No Change||Carried over from Panorama 6.0.|