Hello, I created a form application of customers, this form has a field called region_id I tried to use a combobox control to show the list of regions using the automatic lookup property. It shows the list of regions, but I need this combobox to show the name of the region that corresponds to a customer when I edit the information of one customer.
For example, the customer Jorge Perez has region_id=5 that correspond to “Los Angeles”, but in the combo box always is selected the first region, I would like to view “Los Angeles” region selected when I choose that customer to edit, and it has to change depending on the region_id of the customer to edit.
How can I set the initial value selected based on the region_id of the customer?
Thanks for your help.