I have this query where I want the amount in field tblMods.ModifiedLaborDollars to list only once.
SELECT tblDeloitteInvoiceDetail.WorkAuthorizationNumber, tblDeloitteInvoiceDetail.DeloitteInvoiceNum, tblDeloitteInvoiceDetail.AmountApproved, tblDeloitteInvoiceDetail.CLIN, tblMods.ModifiedLaborDollars
FROM tblMods INNER JOIN tblDeloitteInvoiceDetail ON tblMods.WorkAuthorizationNumber=tblDeloitteInvoiceDetail.WorkAuthorizationNumber
GROUP BY tblDeloitteInvoiceDetail.WorkAuthorizationNumber, tblDeloitteInvoiceDetail.DeloitteInvoiceNum, tblDeloitteInvoiceDetail.AmountApproved, tblDeloitteInvoiceDetail.CLIN, tblMods.ModifiedLaborDollars
HAVING (((tblDeloitteInvoiceDetail.WorkAuthorizationNumber)="wa4"))
ORDER BY tblDeloitteInvoiceDetail.CLIN;
What to do?
SELECT tblDeloitteInvoiceDetail.WorkAuthorizationNumber, tblDeloitteInvoiceDetail.DeloitteInvoiceNum, tblDeloitteInvoiceDetail.AmountApproved, tblDeloitteInvoiceDetail.CLIN, tblMods.ModifiedLaborDollars
FROM tblMods INNER JOIN tblDeloitteInvoiceDetail ON tblMods.WorkAuthorizationNumber=tblDeloitteInvoiceDetail.WorkAuthorizationNumber
GROUP BY tblDeloitteInvoiceDetail.WorkAuthorizationNumber, tblDeloitteInvoiceDetail.DeloitteInvoiceNum, tblDeloitteInvoiceDetail.AmountApproved, tblDeloitteInvoiceDetail.CLIN, tblMods.ModifiedLaborDollars
HAVING (((tblDeloitteInvoiceDetail.WorkAuthorizationNumber)="wa4"))
ORDER BY tblDeloitteInvoiceDetail.CLIN;
What to do?