'How to define which fields are in the dropdown list

I have 2 tables (Projects and Customers) with a relation P.idCustomer - C.idCustomer. Everything works as expected. However, when add/edit a project the dropdown for the Customer lists (ID, CompanyName and CompanyName, ID). As I have multiple persons in the same Company, I'd like to see something like "ID, Company, Client" or at least Company, Client to identify the correct record. How to modify what is displayed in the dropdown?

Any input is highly appreciated!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source