I have 2 related tables:
Table_1 Table_2
Field1 Field1 Field2
ABC ABC Tom
ABC Carol
---------------------------------
DEF DEF Jane
DEF Bill
---------------------------------
XYZ XYZ Leane
XYZ Thomas
The index and relation are set up and working fine.
In a VFP7 application I have a Grid on a Form which is using Table_1 as its Grid.RecordSource.
That also works fine for Columuns 1 & 2 (field not shown).
In Column 3 of the Grid I have Combo box objects which I want to display only those Child Table (Table_2) records specifically related to the individual Parent Table (Table_1) records.
How can I make this work?
What needs to be set up in the ComboBox's RecordSource and ControlSource, etc.?
Thanks,
I_Forgot
Table_1 Table_2
Field1 Field1 Field2
ABC ABC Tom
ABC Carol
---------------------------------
DEF DEF Jane
DEF Bill
---------------------------------
XYZ XYZ Leane
XYZ Thomas
The index and relation are set up and working fine.
In a VFP7 application I have a Grid on a Form which is using Table_1 as its Grid.RecordSource.
That also works fine for Columuns 1 & 2 (field not shown).
In Column 3 of the Grid I have Combo box objects which I want to display only those Child Table (Table_2) records specifically related to the individual Parent Table (Table_1) records.
How can I make this work?
What needs to be set up in the ComboBox's RecordSource and ControlSource, etc.?
Thanks,
I_Forgot