Right now I have two separate queries to achieve the results but I would like one query. I'm using MS Access.
tblJournal tblArticle tblStatus
---------- ---------- ---------
JournalID ArticleID ID
JournalTitle JournalCode StatusName
JournalCode StatusID
Cancelled(yes/no) Date
ArticleTitle
SignedDate
The query should have:
tblJournal.JournalTitle,
tblJournal.JournalCode,
Year([tblArticle].[Date]),
Count of articles per year which have a tblArticle.SignedDate,
Count of articles per year with tblStatus.StatusName 'Published' and tblJournal.Cancelled NO.