I am creating a database that tracks employers and data connected to an employer.
I have a parameter query set up that pulls records related to a selected employer.
Currently, if one of the fields has no records, but some of the fields do, when I run the query it comes up blank. I would like it to show all the records available related to the employer.
SELECT
[Employer Contact].Employer,
[Employer Type/Intern Functions].Type,
[Employer Type/Intern Functions].[Intern Functions/Responsibilities
[Internship Notes].Date,
[Internship Notes].Specialist,
[Internship Notes].Notes
FROM
(
[Employer Contact]
INNER JOIN [Internship Notes]
ON [Employer Contact].[Employer] = [Internship Notes].[Employer]
)
INNER JOIN [Employer Type/Intern Functions]
ON [Employer Contact].[Employer] = [Employer Type/Intern Functions].[Employer]
WHERE
(
(
([Employer Contact].Employer)=[Forms]![Employer Record Search]![cboChooseEmp])
)
OR (
(([Forms]![Employer Record Search]![cboChooseEmp]) Is Null)
);
Is this an issue in relationships? The criteria? How do I structure my query so that it shows records that have a value when some of the records are null?