K
Kari
Here is my dilemma:
I have a query with the following fields:
AntibioticID (primary key)
ICUAdmit (foreign key)
OrderNumber
AntibioticName
Date
What this is showing is antibiotic doses. Subjects can have multiple doses
on the same day. These doses may have the same order number or can have
different order numbers. I need to capture records for each ICUAdmit where
the AntibioticName and Date are the same BUT the OrderNumber is different.
I.e, patient has an orderNumber 1 for antibioticA on 5/2/2001 and an
OrderNumber 2 for Antibiotic A on 5/2/2001.
How do I write this query?
I have a query with the following fields:
AntibioticID (primary key)
ICUAdmit (foreign key)
OrderNumber
AntibioticName
Date
What this is showing is antibiotic doses. Subjects can have multiple doses
on the same day. These doses may have the same order number or can have
different order numbers. I need to capture records for each ICUAdmit where
the AntibioticName and Date are the same BUT the OrderNumber is different.
I.e, patient has an orderNumber 1 for antibioticA on 5/2/2001 and an
OrderNumber 2 for Antibiotic A on 5/2/2001.
How do I write this query?