i have two tables in same database:
- table1 contains
order_no(primery key)
andcust_name
- table2 contains
order_no(foreign key)
(which also have duplicates entry per food item ordered in single order),table_no
,items
,date
,cust_name
and so on...
so my question is how can i show the records in listbox and datagrid or in textbox using table1's primery key order_no
so i can get all the records which have assigned the foreign key with same order number in table2
i am using visual basic 6.0