G
Guest
I need two counts on a MSAccess FORM (please don't talk about Excel or
Reports).
Fields on the table are PatientID, Admit Date, Visit Date, Visits, TotVisits
1) count number of visit dates by the Admit Date for a PatientID, so that
the first visit date makes Visit = 1, second visit date makes Visit = 2, etc.
for that PatientID for that admit date.
2) count the total number of visits (TotVisits) for a Patient ID by Admit
Date.
I'd like this to run as a macro, but I can handle some VB code. Thanks
Reports).
Fields on the table are PatientID, Admit Date, Visit Date, Visits, TotVisits
1) count number of visit dates by the Admit Date for a PatientID, so that
the first visit date makes Visit = 1, second visit date makes Visit = 2, etc.
for that PatientID for that admit date.
2) count the total number of visits (TotVisits) for a Patient ID by Admit
Date.
I'd like this to run as a macro, but I can handle some VB code. Thanks