T
Thore
Hello all,
I know that this sort of question has been asked several
times, but the answers were no help to me in the end
(either too sophisticated or not really applicable to my
problem...)
Version: Access 2000
Level of Expertise: Beginner...
I got 2 tables (Company & Contact) in a one-to-many
relationship with the following fields:
Company:
CompanyID
CompanyName
Contact:
ContactID
ContactName
CompanyID (<-- obviously the link to the Company)
ContactPhone
ContactEmail
etc....
For displaying the specific Contact record in a form I
would like to use two list boxes. The first showing all
company names. Once clicked on on the list, the second
list box should only contain the ContactNames for the
specific company. Clicking on that, the contact record
should be displayed on the form.
I assume I will have to work with one form and subform,
and I got it working in that way that the subform only
contains contact record for the company when scrolling
through them. However, the litsbox in the subform stills
shows all contact records. I have no clue how to set the
properties so that it works.
So, if you could provide me with instructions, I would be
really greatfull.
Thanks and brgds,
Thore
I know that this sort of question has been asked several
times, but the answers were no help to me in the end
(either too sophisticated or not really applicable to my
problem...)
Version: Access 2000
Level of Expertise: Beginner...
I got 2 tables (Company & Contact) in a one-to-many
relationship with the following fields:
Company:
CompanyID
CompanyName
Contact:
ContactID
ContactName
CompanyID (<-- obviously the link to the Company)
ContactPhone
ContactEmail
etc....
For displaying the specific Contact record in a form I
would like to use two list boxes. The first showing all
company names. Once clicked on on the list, the second
list box should only contain the ContactNames for the
specific company. Clicking on that, the contact record
should be displayed on the form.
I assume I will have to work with one form and subform,
and I got it working in that way that the subform only
contains contact record for the company when scrolling
through them. However, the litsbox in the subform stills
shows all contact records. I have no clue how to set the
properties so that it works.
So, if you could provide me with instructions, I would be
really greatfull.
Thanks and brgds,
Thore