detailNewObjectCommand.execute(); // Do subform action first
creatingNewObject();
detailForm.creatingNewObject();
}
};
dlg.showDialog();
} else {
// Tell both forms that we are creating a new object
detailNewObjectCommand.execute(); // Do subform action first
creatingNewObject();
detailForm.creatingNewObject();