G
Guest
Dear all,
I have 2 tables from which I create a simple data relation:
Table1 has a field name ID which is retrive from a database
Table2 has fields ID and Name which is retrived from database
I have build a datarelation from Table 1 to Table 2 on field ID, so far so
good
Base on that my dataset contains following structure :
TABLE1: ID
TABLE2: ID, NAME
From that I have 2 list box name lstTable1 and lstTable 2
What I need to do is :
- bind the lstTable1 listbox on ID field of table 1 from dataset
- bind the lstTable2 listbox on field NAME and gets childs content field
issue from content of lstBox1
I am able to bind list box but the content of lstBox' contains all records
and NOT only records based on parent of lstBox1
How can I do that ?
thnaks for your help
regards
Serge
I have 2 tables from which I create a simple data relation:
Table1 has a field name ID which is retrive from a database
Table2 has fields ID and Name which is retrived from database
I have build a datarelation from Table 1 to Table 2 on field ID, so far so
good
Base on that my dataset contains following structure :
TABLE1: ID
TABLE2: ID, NAME
From that I have 2 list box name lstTable1 and lstTable 2
What I need to do is :
- bind the lstTable1 listbox on ID field of table 1 from dataset
- bind the lstTable2 listbox on field NAME and gets childs content field
issue from content of lstBox1
I am able to bind list box but the content of lstBox' contains all records
and NOT only records based on parent of lstBox1
How can I do that ?
thnaks for your help
regards
Serge