deleterecchildrenwarn
DATABASE
,
KEYFIELD
,
KEYVALUE

The deleterecchildrenwarn statement warns you before deleting the current record from the active database and all the records in another database that have a value in the key field that is equal to the key value.


Parameters

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.


Description

This statement warns you before deleting the current record from the active database and all the records in another database that have a value in the key field that is equal to the key value.

This example warns, then deletes all the records from the My Contacts database that have a name in the Organization field that matches the value in the Company field in the current record, then it deletes the current record itself.

DeleteRecChildWarn "My Contacts", "Organization", Company

In other words, it deletes the company from both the current database and the My Contacts database.


See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.