I have two tables, user and company, and I have a combo box in which I list all the companies I have in the company table. My question is, how to use databinding in foxpro to display the company name? When I save the information to the database, I only need to save the company ID; same for display, from the company ID I have in my user table, I would like to display the company name. I tried using the properties :
CmbCompany.controlesource = myTable.companyID
cmbCompany.displaysource = myTable.companyName
but this doesn't work, I missing something!