Using call back functions
First the datadefinitions "settings_invoices" and "settings_customer" are initialized.
Master: settings_customer, here are 2 callback functions used:
Both callback function call the function "setInvoices".
the function SetArrayAll(object,property,value) is used to turn off the headerfilter.
setInvoices appends a container to the bottom of the masterform. This conainer is empty by a new record. The key "accountID" is transfered as SQL-clause. When a record is selected. The invoice list will be filled.