Hi,
I have a Access database with 2 tables:
Supplier: PK Supplier_ID
Items: PK Item_ID
FK Supplier_ID
I am trying to use 2 ADO controls on 1 form. I am showing the Supplier fields on the form and then the items associated with the form in a datagrid control.
My problem is that the datagrid is showing all the records in the items table. I would like it to show just those associated with the given Supplier_ID.
I know with DED's there is an option where you can just set parent/child properties but I am unsure how to do this with ADO's.
Any help would be greatly appreciated. Thanks!
I have a Access database with 2 tables:
Supplier: PK Supplier_ID
Items: PK Item_ID
FK Supplier_ID
I am trying to use 2 ADO controls on 1 form. I am showing the Supplier fields on the form and then the items associated with the form in a datagrid control.
My problem is that the datagrid is showing all the records in the items table. I would like it to show just those associated with the given Supplier_ID.
I know with DED's there is an option where you can just set parent/child properties but I am unsure how to do this with ADO's.
Any help would be greatly appreciated. Thanks!