I have three Access 2000 tables linked by one key field named JobNo. In Access I was able to create a form which displayed all the fields from each table and was able to scroll through the records for each JobNo.
However I am having difficulty trying doing the same with a form created in VB6.
I have tried using the Form Data Wizard which gives me a Record Navigation Bar at the bottom of my form but this can only connect to one table. If I create another two bars from the toolbox they too remain bound to one table only.
On the form I display the JobNo field once only from Table 1. I do not show the same field (which holds the same data/jobno) from Tables 2 & 3.
Can anyone help me to link my data / text boxes which are bound to the three table’s fields in such a way that when I move to the next record/job number that all the fields reflect the data for that new record/JobNo. I think I am right in saying I have a one-to-many setup.
I have tinkered with ADODC from the toolbox but do not understand what I am trying to do.
As always any help is much appreciated.
Thanks.
However I am having difficulty trying doing the same with a form created in VB6.
I have tried using the Form Data Wizard which gives me a Record Navigation Bar at the bottom of my form but this can only connect to one table. If I create another two bars from the toolbox they too remain bound to one table only.
On the form I display the JobNo field once only from Table 1. I do not show the same field (which holds the same data/jobno) from Tables 2 & 3.
Can anyone help me to link my data / text boxes which are bound to the three table’s fields in such a way that when I move to the next record/job number that all the fields reflect the data for that new record/JobNo. I think I am right in saying I have a one-to-many setup.
I have tinkered with ADODC from the toolbox but do not understand what I am trying to do.
As always any help is much appreciated.
Thanks.