Carl Philip
May 15th, 2001, 09:16 AM
Hello people!
I am new to Visual Basic and I am trying to show data from 3
linked Acess-tables on 1 form.
Those tables are:
1. A table containing information about computers.
Each record/computer has a primary key named HWPrim
(from HardWare Primary key)
2. A table containing software packages.
Its primary key is SWPrim (from SoftWare Primary key)
3. A table which links both previous tables: it contains nothing but the primary keys from those 2 tables.
This table shows which software packages are linked to
(or installed on) which computer.
Now, what I would like to do is the following:
I need to make a form which shows the data of 1 computer in seperate fields. Furthermore, the form should contain a grid or sheet which shows all software which has been linked to that computer, so that in my application I could see which software was installed on which computer.
For the rest the form should only have something like an ADO Data Control so that I can browse between all computers in the database and that the grid or sheet on the form will always show the software of the computer shown.
I have seen that the Data Form Wizard can show data from 2 linked tables if you choose the "Master/Detail" type of form, but I cannot find out how I could possible do this with my 3 linked tables.
Anybody help me?
Thank you very much in advance!
Carl Nauwelaerts
Brussels, Belgium
I am new to Visual Basic and I am trying to show data from 3
linked Acess-tables on 1 form.
Those tables are:
1. A table containing information about computers.
Each record/computer has a primary key named HWPrim
(from HardWare Primary key)
2. A table containing software packages.
Its primary key is SWPrim (from SoftWare Primary key)
3. A table which links both previous tables: it contains nothing but the primary keys from those 2 tables.
This table shows which software packages are linked to
(or installed on) which computer.
Now, what I would like to do is the following:
I need to make a form which shows the data of 1 computer in seperate fields. Furthermore, the form should contain a grid or sheet which shows all software which has been linked to that computer, so that in my application I could see which software was installed on which computer.
For the rest the form should only have something like an ADO Data Control so that I can browse between all computers in the database and that the grid or sheet on the form will always show the software of the computer shown.
I have seen that the Data Form Wizard can show data from 2 linked tables if you choose the "Master/Detail" type of form, but I cannot find out how I could possible do this with my 3 linked tables.
Anybody help me?
Thank you very much in advance!
Carl Nauwelaerts
Brussels, Belgium