A
Andy Roberts
Heres what im trying to do..
I have a form which contains a combo box which displays a list of companies.
When I select the company, there is a second cbo which just shows me the
people who work for that company - simple so far...
The sond cbo box is running a query from a contacts table (linked to the
company table by id's) which also includes the phone number and job title
for the people who work for each company. When I select the person, the
name appears in the combo and the phone number and job title appear in 2
additional txt boxes on the form. This all works fine except the second cbo
only displays the people who have job titles assigned to them and this is
because the job title is being called from a JobTitle table and linked to
the contacts table via id's.
If I remove the Job Title from the query (i.e. the linked field) then
everything works fine, but the linked field only works if there is data in
that field e.g.
A Smith 012345 Sales rep
B Smith 012345
C Smith 012345 Director
.... would only show me A Smith & C Smith as they have data in the linked Job
Title field. I want to show all 3 records.
How do I get around this problem?
Regards
Andy
I have a form which contains a combo box which displays a list of companies.
When I select the company, there is a second cbo which just shows me the
people who work for that company - simple so far...
The sond cbo box is running a query from a contacts table (linked to the
company table by id's) which also includes the phone number and job title
for the people who work for each company. When I select the person, the
name appears in the combo and the phone number and job title appear in 2
additional txt boxes on the form. This all works fine except the second cbo
only displays the people who have job titles assigned to them and this is
because the job title is being called from a JobTitle table and linked to
the contacts table via id's.
If I remove the Job Title from the query (i.e. the linked field) then
everything works fine, but the linked field only works if there is data in
that field e.g.
A Smith 012345 Sales rep
B Smith 012345
C Smith 012345 Director
.... would only show me A Smith & C Smith as they have data in the linked Job
Title field. I want to show all 3 records.
How do I get around this problem?
Regards
Andy