S
Sharon
I have a query that returns my patent records. I used that query,
qryMASTERSVH2, and created a new query using another table, Assignment
Information, qryMASTERSVH3. The primary key for both tables is PatentID. The
join is all records from qryMASTERSVH2 and those from Assignment Information
where the fields are equal. The problem is that the first query shows the
appropriate number of patents, but the second query shows the same patent 10
times. There don't appear to be any duplicate fields, so I am not sure why
there are so many duplicate records.
qryMASTERSVH2
SELECT vwPatentMastersReport.DocketNumber,
vwPatentMastersReport.ApplicationNumber,
vwPatentMastersReport.ApplicationDate,
vwPatentMastersReport.ConfirmationNumber, vwPatentMastersReport.AgentName,
vwPatentMastersReport.AgentRefNo, vwPatentMastersReport.AssociateName,
vwPatentMastersReport.CountryName, vwPatentMastersReport.FilingNumber,
vwPatentMastersReport.NextDueDate, vwPatentMastersReport.PatentNumber,
vwPatentMastersReport.PublicationDate,
vwPatentMastersReport.PublicationNumber, vwPatentMastersReport.Title,
vwPatentInventorsReport.InventorName, vwPatentInventorsReport.PatentMasterID,
vwPatentMastersReport.[Text#10] AS [Client Ref],
vwPatentMastersReport.ClassificationNumber, vwPatentMastersReport.GrantDate,
vwPatentMastersReport.StatusDescription
FROM vwPatentMastersReport LEFT JOIN vwPatentInventorsReport ON
vwPatentMastersReport.PatentMasterID = vwPatentInventorsReport.PatentMasterID;
qryMASTERSVH3
SELECT qryMASTERSVH2.*, vwPatentData1Report.Date,
vwPatentData1Report.[Text#1] AS Reel, vwPatentData1Report.[Text#2] AS Frame
FROM qryMASTERSVH2 LEFT JOIN vwPatentData1Report ON
qryMASTERSVH2.PatentMasterID = vwPatentData1Report.PatentMasterID;
qryMASTERSVH2, and created a new query using another table, Assignment
Information, qryMASTERSVH3. The primary key for both tables is PatentID. The
join is all records from qryMASTERSVH2 and those from Assignment Information
where the fields are equal. The problem is that the first query shows the
appropriate number of patents, but the second query shows the same patent 10
times. There don't appear to be any duplicate fields, so I am not sure why
there are so many duplicate records.
qryMASTERSVH2
SELECT vwPatentMastersReport.DocketNumber,
vwPatentMastersReport.ApplicationNumber,
vwPatentMastersReport.ApplicationDate,
vwPatentMastersReport.ConfirmationNumber, vwPatentMastersReport.AgentName,
vwPatentMastersReport.AgentRefNo, vwPatentMastersReport.AssociateName,
vwPatentMastersReport.CountryName, vwPatentMastersReport.FilingNumber,
vwPatentMastersReport.NextDueDate, vwPatentMastersReport.PatentNumber,
vwPatentMastersReport.PublicationDate,
vwPatentMastersReport.PublicationNumber, vwPatentMastersReport.Title,
vwPatentInventorsReport.InventorName, vwPatentInventorsReport.PatentMasterID,
vwPatentMastersReport.[Text#10] AS [Client Ref],
vwPatentMastersReport.ClassificationNumber, vwPatentMastersReport.GrantDate,
vwPatentMastersReport.StatusDescription
FROM vwPatentMastersReport LEFT JOIN vwPatentInventorsReport ON
vwPatentMastersReport.PatentMasterID = vwPatentInventorsReport.PatentMasterID;
qryMASTERSVH3
SELECT qryMASTERSVH2.*, vwPatentData1Report.Date,
vwPatentData1Report.[Text#1] AS Reel, vwPatentData1Report.[Text#2] AS Frame
FROM qryMASTERSVH2 LEFT JOIN vwPatentData1Report ON
qryMASTERSVH2.PatentMasterID = vwPatentData1Report.PatentMasterID;