Código PHP:
SELECT Count(Claims.ProviderID) AS Total,
Claims.PatientID, Claims.InsurerID, Claims.ProviderInvoiceNumber, Claims.DateOfService, Claims.TotalCharges, Claims.Responsible, Claims.ClaimStatus
FROM Claims
WHERE
(((Claims.ProviderID)=[Formularios]![Formulario302]![Proveedor])
AND ((Claims.ClaimStatus) Not Like ("9. Case Closed")))
ORDER BY Claims.ProviderID, Claims.InsurerID;