Rajesh Karunakaran
Programmer
Hi friends,
This is quite simple but for the moment has become a bit weired it seems.
I have 2 tables:
base.dbf: company_id, person1name, person2name
company.dbf: company_id, company_name
I have grid with 3 columns Company Name, Person 1, Person 2.
In column1 (Company Name) I have ComboBox instead of the default TextBox.
The Combo rowsource is cursor made from company.dbf: company_name, company_id
Combo boundColumn is 2.
Grid column1 controlsource is bound to base.company_id
When the comboBox is active (in any row), it's the company name shown as desired.
But, for other records, how do we show the Company Name in the column (I don't have Company name in the base.dbf which is the base data for the grid).
Rajesh
This is quite simple but for the moment has become a bit weired it seems.
I have 2 tables:
base.dbf: company_id, person1name, person2name
company.dbf: company_id, company_name
I have grid with 3 columns Company Name, Person 1, Person 2.
In column1 (Company Name) I have ComboBox instead of the default TextBox.
The Combo rowsource is cursor made from company.dbf: company_name, company_id
Combo boundColumn is 2.
Grid column1 controlsource is bound to base.company_id
When the comboBox is active (in any row), it's the company name shown as desired.
But, for other records, how do we show the Company Name in the column (I don't have Company name in the base.dbf which is the base data for the grid).
Rajesh