Record.find ?

hello, I have a form where i want to delete a record, but then i also have to delete all the records, that are related with that record, in other tables… How can i search for records with the same id in other tables ? Thanks !!

Look in the ondelete trigger for e.g. table 18 (Customer) for examples of how to do this.

If you from code do a Customer.Delete(TRUE); that will run the trigger for you…