Criteria to Display All Records Null and Is Not Null

G

Guest

I have a report with this record source:
tblPKCGMaterialAttributes.txtProfileID)) INNER JOIN
tblPKCGFinishingAttributes ON tblProfiles.txtProfileID =
tblPKCGFinishingAttributes.txtProfileID) INNER JOIN tblProfilesRevisions ON
(tblPKCGPhysicalAttributes.txtProfileID = tblProfilesRevisions.txtProfileID)
AND (tblProfiles.txtProfileID = tblProfilesRevisions.txtProfileID) WHERE
(((tblProfiles.Type)="CG"));

The report only displays records that have revision dates.

What criteria do I use to make the report display all records with or
without revision dates? Is this maybe a join issue?

Any guidance would be appreciated!

Thanks!
 
G

Guest

hi,
yes it is a join issue. you will need to right join
instead of inner join.
Look up joins in helps.
also in the query in design mode right click the join. be
careful. two popups can popup. you want the one that says
join properties. don't click the join close the the table.
click in the center of the join.
-----Original Message-----
I have a report with this record source:
tblPKCGMaterialAttributes.txtProfileID)) INNER JOIN
tblPKCGFinishingAttributes ON tblProfiles.txtProfileID =
tblPKCGFinishingAttributes.txtProfileID) INNER JOIN tblProfilesRevisions ON
(tblPKCGPhysicalAttributes.txtProfileID = tblProfilesRevisions.txtProfileID)
AND (tblProfiles.txtProfileID =
tblProfilesRevisions.txtProfileID) WHERE
 
V

Van T. Dinh

Unfortunately, John's post got messed up with the SQL String but it looks
like a Left Join is required to the tblProfilesRevisions, i.e. this Table is
the "right" Table of the Join.
 
G

Guest

Thanks, everyone!

Van T. Dinh said:
Unfortunately, John's post got messed up with the SQL String but it looks
like a Left Join is required to the tblProfilesRevisions, i.e. this Table is
the "right" Table of the Join.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top